Page 3 of 6 FirstFirst 123456 LastLast
Results 41 to 60 of 111
  1. #41  
    Quote Originally Posted by Bjarne View Post
    Hello clintkoglin, I can confirm that I seem to have the same issue. I will try to do some research here. If I connect via the USB cable I do not have the issue.
    Awesome.. thanks
  2. #42  
    This thread has gone a couple of levels past my capacity for technology.

    Can any of you boil this down to a "1, 2, 3..." step-by-step set of directions? Because I, too, would really like to drag-and-drop over WiFi, but this thread is too technical.
  3.    #43  
    Conor, I will like to do that, but I am a little short of time, so if you can stay tuned the answers to your request will popup. Go Yankees!
  4. DrewPre's Avatar
    Posts
    818 Posts
    Global Posts
    829 Global Posts
    #44  
    to log in via sftp as root ... edit /etc/event.d/optware-dropbear and remove the -g parameter from the dropbear command.

    this will allow you full access to sftp
  5. #45  
    Quote Originally Posted by DrewPre View Post
    to log in via sftp as root ... edit /etc/event.d/optware-dropbear and remove the -g parameter from the dropbear command.

    this will allow you full access to sftp
    It will also open up the password-less root login to anyone who can get connectivity to your Pre over the internet, allowing them to do absolutely anything they want on your Pre, including keyloggers, trojans, botnets, etc.

    I would not recommend doing this.

    If you want to get root access to the Pre for sftp purposes, you should set up ssh keys to do so.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  6.    #46  
    Regarding SFTP picture (jpg) to /media/internal/DCOM/100PALM folder that is less than 100K or larger than 100K.

    I did the following test:

    If I SFTP via WiFi a 100K plus JPG file to the 100PALM folder, then the Photo application will not see the picture. If I do the same and the file is less than 100K the Photo application has no problem recognizing the picture.

    If I USB via cable the same 100K plus JPG file to the 100PALM folder, then the Photo application have no problem with recognizing the picture.

    If I SFTP via WiFi the same JPG file and I rename in under USB control, the Photo application see the JPG file.

    If I SFTP via WiFi the same JPG file and I start Putty where I sudo myself to root and I change the mount to remount,rw. From here I rename the file in the hope that it would do the same as if I had renamed the file under USB control; however this does not work, meaning that the Photo application does not recognizing the picture.

    So the two big questions are: Why is there a difference in SFTP a smaller (less than 100K) JPG compare to a larger (greater then 100K) with regards to what the Photo application can recognizing? The Second question is what is the difference between USB connecting via a cable and the SFTP via WiFi when it comes to what the Photo application can recognizing?

    Anybody have an input here?
  7.    #47  
    I am not sure what is going on, except that some rights / authentication / permissions is to blame for the WiFi SFTP issues when pictures are loaded to the Pre but not seen by the Photo Album application.

    I login to the Pre via Wifi and SFTP and navigated to the /media/internal/DCIM/100PALM/ folder. I created a new folder under the 100PALM folder and uploaded several pictures to the new folder. Some of the uploaded pictures where less than 100Kb in size and others where above 3Mb.
    Then I exit the SFTP program and ran the Photo Album application, no surprise the Photo Album did not see the new Album and the new picture (see earlier postings).

    I have Internalz downloaded so I pointed it to the new folder, renamed the folder and now when I start the Photo Album application I not only see the new folder as a new Album but also displayed the picture no matter the image size.

    Anyone have an idea what the difference is between connecting via USB cable and Wifi SFTP connection and then what rights / authentication / permissions the Internalz works on please let me know.
  8.    #48  
    APEower, I appreciate the information and yes I think I can do the "stop fileindexer" and "start fileindexer" from Putty (that can be called from within WinSCP). If I get time (I also have to uninstall patches and update to the new webOS 1.3.1 release, plus re-install the patches) this weekend I may even try (with some help from my girlfriend Shay that is a UNIX administrator) to create a script that will Stop, Delete and then Start the indexing job.
    Bjarne Winkler
    ---------------------------------------------------
    ==> Pre: There's a patch for that!
  9.    #49  
    So I upgraded to WebOS 1.3.1.

    OK before I did so I backed up the Pre and to be extra safe I uploaded to Google my contacts so I would not lose them.

    I removed all the patches before I restarted the Pre and was ready to upgrade to the new WebOS.

    The upgrade installed as expected and I restarted the Pre one more time.
    All my stuff was still there so I was ready to re-install my group of patches. After that I restarted one more time.

    Result: I am up and running and very happy. Yes I still have the WiFi large picture upload issue, but I have a hack for that (see posting above).

    What is not working at this time is that I can now not open images using the Internalz, but I am 100% sure that Jason is working overtime on this.

    More when I have more.
    Bjarne Winkler
    ---------------------------------------------------
    ==> Pre: There's a patch for that!
  10. #50  
    EDIT: Forgot to mention, that I am using a Mac and Cyberduck or Fugu.

    Hi,

    I hope somebody can help me. I'm trying now for several days to get the key-authentication going, but to no avail.

    I can ssh into my Pre, but if I try to use the private key generated via dropbear on the pre I get following output:


    Code:
     Reading configuration data /etc/ssh_config
    debug1: Connecting to xxxxxxx [xxxxxxxxxx] port 22.
    debug1: Connection established.
    debug1: read_keyfile_line: .ssh/id_rsa line 1 exceeds size limit
    debug1: read_keyfile_line: .ssh/id_rsa line 1 exceeds size limit
    debug1: identity file .ssh/id_rsa type -1
    debug1: Remote protocol version 2.0, remote software version dropbear_0.52
    debug1: no match: dropbear_0.52
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.2
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: sending SSH2_MSG_KEXDH_INIT
    debug1: expecting SSH2_MSG_KEXDH_REPLY
    debug1: Host 'xxxxxxxxx' is known and matches the RSA host key.
    debug1: Found key in /Users/yyyyyyyy/.ssh/known_hosts:2
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey
    debug1: Next authentication method: publickey
    debug1: Trying private key: .ssh/id_rsa
    debug1: PEM_read_PrivateKey failed
    debug1: read PEM private key done: type <unknown>
    debug1: PEM_read_PrivateKey failed
    debug1: read PEM private key done: type <unknown>
    debug1: No more authentication methods to try.
    Permission denied (publickey).
    What did I do wrong? I also created a pair on my computer and renamed the public key to authorized_keys. then I tried to convert the private key via dropbearconvert, also no success.

    Cyberduck complains about missing -----BEGIN in the PEM Structure.

    So what have I to do?
    Last edited by twinkybot; 11/23/2009 at 05:06 PM.
  11.    #51  
    Hello twinkybot, I think I had the same issue using dropbear and since I could not find a solution I removed all that stuff and did the installation found at How to SSH into Your Palm Pre! | Palm Pre Hacks Blog! (also see my notes on the lower part of page two of this post found at http://forums.precentral.net/web-os-...manager-2.html)

    After 10 minutes of installation I was up and running.

    Hope this helps.
    Bjarne Winkler
    ---------------------------------------------------
    ==> Pre: There's a patch for that!
  12. #52  
    Thanks for your reply.

    But I already did all that. I mean I followed the guide of the given link.
    I hoped that updating webOS to 1.3.1 may help, but sadly not.

    But now I get following content when using a terminal:

    Code:
    OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
    debug1: Reading configuration data /etc/ssh_config
    debug1: Connecting to xxxxxxxxx [xxxxxxxxxx] port 222.
    debug1: Connection established.
    debug1: read_keyfile_line: /Users/aUser/.ssh/id_rsa line 1 exceeds size limit
    debug1: read_keyfile_line: /Users/aUser/.ssh/id_rsa line 1 exceeds size limit
    debug1: identity file /Users/aUser/.ssh/id_rsa type -1
    debug1: Remote protocol version 2.0, remote software version dropbear_0.52
    debug1: no match: dropbear_0.52
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.2
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: sending SSH2_MSG_KEXDH_INIT
    debug1: expecting SSH2_MSG_KEXDH_REPLY
    debug1: Host '[xxxxxxxxx]:222' is known and matches the RSA host key.
    debug1: Found key in /Users/aUser/.ssh/known_hosts:1
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey,password
    debug1: Next authentication method: publickey
    debug1: Trying private key: /Users/aUser/.ssh/id_rsa
    debug1: PEM_read_PrivateKey failed
    debug1: read PEM private key done: type <unknown>
    debug1: PEM_read_PrivateKey failed
    debug1: read PEM private key done: type <unknown>
    Hm, a little bit of research did also no good, or at least the "PEM_read_PrivateKey failed" did not help

    To clarify it again. The private key must be moved to the computer, right?
  13.    #53  
    Hello twinkybot, I did not have to move anything from the Pre to the PC, but I did have to set up my WinSCP to:

    SFTP

    Port No 222

    Set Protocol to “sudo /opt/libexec/sftp-server”

    If I have logging turned on I get the following:

    . 2009-11-30 19:14:51.159 --------------------------------------------------------------------------
    . 2009-11-30 19:14:51.159 WinSCP Version 4.1.9 (Build 416) (OS 6.0.6002 Service Pack 2)
    . 2009-11-30 19:14:51.160 Login time: Monday, November 30, 2009 7:14:51 PM
    . 2009-11-30 19:14:51.160 --------------------------------------------------------------------------
    . 2009-11-30 19:14:51.160 Session name: xxx.xxx.xxx.xxx
    . 2009-11-30 19:14:51.160 Host name: xxx.xxx.xxx.xxx (Port: 222)
    . 2009-11-30 19:14:51.160 User name: zima2 (Password: No, Key file: No)
    . 2009-11-30 19:14:51.160 Tunnel: No
    . 2009-11-30 19:14:51.160 Transfer Protocol: SFTP (SCP)
    . 2009-11-30 19:14:51.160 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
    . 2009-11-30 19:14:51.160 Proxy: none
    . 2009-11-30 19:14:51.160 SSH protocol version: 2; Compression: No
    . 2009-11-30 19:14:51.160 Bypass authentication: No
    . 2009-11-30 19:14:51.160 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
    . 2009-11-30 19:14:51.161 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
    . 2009-11-30 19:14:51.161 SSH Bugs: -,-,-,-,-,-,-,-
    . 2009-11-30 19:14:51.161 SFTP Bugs: -,-
    . 2009-11-30 19:14:51.161 Return code variable: Autodetect; Lookup user groups: Yes
    . 2009-11-30 19:14:51.161 Shell: default, EOL: 0
    . 2009-11-30 19:14:51.161 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
    . 2009-11-30 19:14:51.161 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
    . 2009-11-30 19:14:51.161 Local directory: default, Remote directory: home, Update: No, Cache: Yes
    . 2009-11-30 19:14:51.161 Cache directory changes: Yes, Permanent: Yes
    . 2009-11-30 19:14:51.161 DST mode: 1
    . 2009-11-30 19:14:51.161 --------------------------------------------------------------------------
    . 2009-11-30 19:14:51.199 Looking up host "192.168.0.193"
    . 2009-11-30 19:14:51.199 Connecting to 192.168.0.193 port 222
    . 2009-11-30 19:14:51.428 Selecting events 63 for socket 872
    . 2009-11-30 19:14:51.430 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:14:51.430 Looking for incoming data
    . 2009-11-30 19:14:51.430 Looking for network events
    . 2009-11-30 19:14:51.430 Detected network event
    . 2009-11-30 19:14:51.431 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.431 Enumerated 18 network events making 18 cumulative events for socket 872
    . 2009-11-30 19:14:51.431 Handling network write event on socket 872 with error 0
    . 2009-11-30 19:14:51.431 Handling network connect event on socket 872 with error 0
    . 2009-11-30 19:14:51.431 Looking for network events
    . 2009-11-30 19:14:51.438 Detected network event
    . 2009-11-30 19:14:51.438 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.438 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:14:51.438 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:14:51.438 Server version: SSH-2.0-dropbear_0.52
    . 2009-11-30 19:14:51.438 We claim version: SSH-2.0-WinSCP_release_4.1.9
    . 2009-11-30 19:14:51.444 SSPI: acquired credentials for: Bjarne Winkler@Zima
    . 2009-11-30 19:14:51.444 Cannot convert IP address to SPN: DNS is not trusted
    . 2009-11-30 19:14:51.446 GSSKEX disabled:
    . 2009-11-30 19:14:51.446 Using SSH protocol version 2
    . 2009-11-30 19:14:51.446 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:14:51.446 Looking for incoming data
    . 2009-11-30 19:14:51.446 Looking for network events
    . 2009-11-30 19:14:51.446 Detected network event
    . 2009-11-30 19:14:51.446 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.446 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:14:51.447 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:14:51.447 Using Diffie-Hellman with standard group "group1"
    . 2009-11-30 19:14:51.447 Doing Diffie-Hellman key exchange with hash SHA-1
    . 2009-11-30 19:14:51.462 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:14:51.462 Looking for incoming data
    . 2009-11-30 19:14:51.462 Looking for network events
    . 2009-11-30 19:14:51.744 Detected network event
    . 2009-11-30 19:14:51.744 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.744 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:14:51.744 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:14:51.759 Selecting events 63 for socket 872
    . 2009-11-30 19:14:51.759 Host key fingerprint is:
    . 2009-11-30 19:14:51.759 ssh-rsa 1040 fd:74:f1:29:88:84:91:a9:36:81:ba:a1:71:6c:9e:cf
    . 2009-11-30 19:14:51.759 Initialised AES-256 SDCTR client->server encryption
    . 2009-11-30 19:14:51.759 Initialised HMAC-SHA1 client->server MAC algorithm
    . 2009-11-30 19:14:51.759 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:14:51.759 Looking for incoming data
    . 2009-11-30 19:14:51.759 Looking for network events
    . 2009-11-30 19:14:51.759 Detected network event
    . 2009-11-30 19:14:51.759 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.759 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:14:51.759 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:14:51.760 Initialised AES-256 SDCTR server->client encryption
    . 2009-11-30 19:14:51.760 Initialised HMAC-SHA1 server->client MAC algorithm
    . 2009-11-30 19:14:51.760 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:14:51.760 Looking for incoming data
    . 2009-11-30 19:14:51.760 Looking for network events
    . 2009-11-30 19:14:51.764 Detected network event
    . 2009-11-30 19:14:51.764 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.764 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:14:51.764 Handling network read event on socket 872 with error 0
    ! 2009-11-30 19:14:51.764 Using username "zima2".
    . 2009-11-30 19:14:51.766 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:14:51.766 Looking for incoming data
    . 2009-11-30 19:14:51.766 Looking for network events
    . 2009-11-30 19:14:51.769 Detected network event
    . 2009-11-30 19:14:51.769 Enumerating network events for socket 872
    . 2009-11-30 19:14:51.769 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:14:51.769 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:14:51.769 Prompt (6, SSH password, , &Password: )
    . 2009-11-30 19:15:09.542 Sent password
    . 2009-11-30 19:15:09.542 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:15:09.542 Looking for incoming data
    . 2009-11-30 19:15:09.542 Looking for network events
    . 2009-11-30 19:15:09.661 Detected network event
    . 2009-11-30 19:15:09.661 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.661 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.661 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.661 Access granted
    . 2009-11-30 19:15:09.661 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:15:09.661 Looking for incoming data
    . 2009-11-30 19:15:09.661 Looking for network events
    . 2009-11-30 19:15:09.664 Detected network event
    . 2009-11-30 19:15:09.664 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.664 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.664 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.664 Opened channel for session
    . 2009-11-30 19:15:09.664 Waiting for the server to continue with the initialisation
    . 2009-11-30 19:15:09.664 Looking for incoming data
    . 2009-11-30 19:15:09.664 Looking for network events
    . 2009-11-30 19:15:09.684 Detected network event
    . 2009-11-30 19:15:09.684 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.684 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.684 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.684 Started a shell/command
    . 2009-11-30 19:15:09.685 --------------------------------------------------------------------------
    . 2009-11-30 19:15:09.685 Using SFTP protocol.
    . 2009-11-30 19:15:09.685 Doing startup conversation with host.
    > 2009-11-30 19:15:09.686 Type: SSH_FXP_INIT, Size: 5, Number: -1
    > 2009-11-30 19:15:09.686 01,00,00,00,05,
    . 2009-11-30 19:15:09.686 Sent 9 bytes
    . 2009-11-30 19:15:09.686 There are 0 bytes remaining in the send buffer
    . 2009-11-30 19:15:09.686 Looking for network events
    . 2009-11-30 19:15:09.686 Timeout waiting for network events
    . 2009-11-30 19:15:09.687 Waiting for another 4 bytes
    . 2009-11-30 19:15:09.687 Looking for incoming data
    . 2009-11-30 19:15:09.687 Looking for network events
    . 2009-11-30 19:15:09.702 Detected network event
    . 2009-11-30 19:15:09.702 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.702 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.702 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.702 Received 99 bytes (0)
    . 2009-11-30 19:15:09.702 Read 4 bytes (95 pending)
    . 2009-11-30 19:15:09.702 Read 95 bytes (0 pending)
    < 2009-11-30 19:15:09.702 Type: SSH_FXP_VERSION, Size: 95, Number: -1
    < 2009-11-30 19:15:09.702 02,00,00,00,03,00,00,00,18,70,6F,73,69,78,2D,72,65,6E,61,6D,65,40,6F,70,65,
    < 2009-11-30 19:15:09.702 6E,73,73,68,2E,63,6F,6D,00,00,00,01,31,00,00,00,13,73,74,61,74,76,66,73,40,
    < 2009-11-30 19:15:09.702 6F,70,65,6E,73,73,68,2E,63,6F,6D,00,00,00,01,32,00,00,00,14,66,73,74,61,74,
    < 2009-11-30 19:15:09.702 76,66,73,40,6F,70,65,6E,73,73,68,2E,63,6F,6D,00,00,00,01,32,
    . 2009-11-30 19:15:09.702 SFTP version 3 negotiated.
    . 2009-11-30 19:15:09.702 Unknown server extension posix-rename@openssh.com=1
    . 2009-11-30 19:15:09.702 Unknown server extension statvfs@openssh.com=2
    . 2009-11-30 19:15:09.702 Unknown server extension fstatvfs@openssh.com=2
    . 2009-11-30 19:15:09.702 We believe the server has signed timestamps bug
    . 2009-11-30 19:15:09.702 We will use UTF-8 strings for status messages only
    . 2009-11-30 19:15:09.706 Getting current directory name.
    . 2009-11-30 19:15:09.706 Getting real path for '.'
    > 2009-11-30 19:15:09.706 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
    > 2009-11-30 19:15:09.706 10,00,00,00,10,00,00,00,01,2E,
    . 2009-11-30 19:15:09.706 Sent 14 bytes
    . 2009-11-30 19:15:09.706 There are 0 bytes remaining in the send buffer
    . 2009-11-30 19:15:09.706 Looking for network events
    . 2009-11-30 19:15:09.706 Timeout waiting for network events
    . 2009-11-30 19:15:09.706 Waiting for another 4 bytes
    . 2009-11-30 19:15:09.706 Looking for incoming data
    . 2009-11-30 19:15:09.706 Looking for network events
    . 2009-11-30 19:15:09.710 Detected network event
    . 2009-11-30 19:15:09.710 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.710 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.710 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.710 Received 55 bytes (0)
    . 2009-11-30 19:15:09.710 Read 4 bytes (51 pending)
    . 2009-11-30 19:15:09.710 Read 51 bytes (0 pending)
    < 2009-11-30 19:15:09.710 Type: SSH_FXP_NAME, Size: 51, Number: 16
    < 2009-11-30 19:15:09.710 68,00,00,00,10,00,00,00,01,00,00,00,0F,2F,76,61,72,2F,68,6F,6D,65,2F,7A,69,
    < 2009-11-30 19:15:09.710 6D,61,32,00,00,00,0F,2F,76,61,72,2F,68,6F,6D,65,2F,7A,69,6D,61,32,00,00,00,
    < 2009-11-30 19:15:09.710 00,
    . 2009-11-30 19:15:09.710 Real path is '/var/home/zima2'
    . 2009-11-30 19:15:09.710 Listing directory "/var/home/zima2".
    > 2009-11-30 19:15:09.710 Type: SSH_FXP_OPENDIR, Size: 24, Number: 267
    > 2009-11-30 19:15:09.710 0B,00,00,01,0B,00,00,00,0F,2F,76,61,72,2F,68,6F,6D,65,2F,7A,69,6D,61,32,
    . 2009-11-30 19:15:09.710 Sent 28 bytes
    . 2009-11-30 19:15:09.710 There are 0 bytes remaining in the send buffer
    . 2009-11-30 19:15:09.710 Looking for network events
    . 2009-11-30 19:15:09.710 Timeout waiting for network events
    . 2009-11-30 19:15:09.710 Waiting for another 4 bytes
    . 2009-11-30 19:15:09.711 Looking for incoming data
    . 2009-11-30 19:15:09.711 Looking for network events
    . 2009-11-30 19:15:09.713 Detected network event
    . 2009-11-30 19:15:09.713 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.713 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.713 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.713 Received 17 bytes (0)
    . 2009-11-30 19:15:09.713 Read 4 bytes (13 pending)
    . 2009-11-30 19:15:09.713 Read 13 bytes (0 pending)
    < 2009-11-30 19:15:09.713 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
    < 2009-11-30 19:15:09.713 66,00,00,01,0B,00,00,00,04,00,00,00,00,
    > 2009-11-30 19:15:09.713 Type: SSH_FXP_READDIR, Size: 13, Number: 524
    > 2009-11-30 19:15:09.713 0C,00,00,02,0C,00,00,00,04,00,00,00,00,
    . 2009-11-30 19:15:09.713 Sent 17 bytes
    . 2009-11-30 19:15:09.713 There are 0 bytes remaining in the send buffer
    . 2009-11-30 19:15:09.713 Looking for network events
    . 2009-11-30 19:15:09.713 Timeout waiting for network events
    . 2009-11-30 19:15:09.713 Waiting for another 4 bytes
    . 2009-11-30 19:15:09.713 Looking for incoming data
    . 2009-11-30 19:15:09.713 Looking for network events
    . 2009-11-30 19:15:09.719 Detected network event
    . 2009-11-30 19:15:09.719 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.719 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.719 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.719 Received 313 bytes (0)
    . 2009-11-30 19:15:09.719 Read 4 bytes (309 pending)
    . 2009-11-30 19:15:09.719 Read 309 bytes (0 pending)
    < 2009-11-30 19:15:09.719 Type: SSH_FXP_NAME, Size: 309, Number: 524
    < 2009-11-30 19:15:09.719 68,00,00,02,0C,00,00,00,03,00,00,00,01,2E,00,00,00,39,64,72,77,78,72,2D,73,
    < 2009-11-30 19:15:09.719 72,2D,78,20,20,20,20,33,20,7A,69,6D,61,32,20,20,20,20,7A,69,6D,61,32,20,20,
    < 2009-11-30 19:15:09.719 20,20,20,20,20,20,34,30,39,36,20,4F,63,74,20,32,39,20,31,36,3A,35,30,20,2E,
    < 2009-11-30 19:15:09.719 00,00,00,0F,00,00,00,00,00,00,10,00,00,00,03,EA,00,00,03,EA,00,00,45,ED,4A,
    < 2009-11-30 19:15:09.719 E4,B4,33,4A,EA,2A,41,00,00,00,03,50,69,78,00,00,00,3B,64,72,77,78,72,2D,78,
    < 2009-11-30 19:15:09.719 72,2D,78,20,20,20,20,32,20,7A,69,6D,61,32,20,20,20,20,7A,69,6D,61,32,20,20,
    < 2009-11-30 19:15:09.719 20,20,20,20,20,20,34,30,39,36,20,4F,63,74,20,32,39,20,31,36,3A,35,30,20,50,
    < 2009-11-30 19:15:09.719 69,78,00,00,00,0F,00,00,00,00,00,00,10,00,00,00,03,EA,00,00,03,EA,00,00,41,
    < 2009-11-30 19:15:09.720 ED,4A,EA,2A,41,4A,EA,2A,61,00,00,00,02,2E,2E,00,00,00,3A,64,72,77,78,72,2D,
    < 2009-11-30 19:15:09.720 78,72,2D,78,20,20,20,20,34,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,
    < 2009-11-30 19:15:09.720 20,20,20,20,20,20,20,34,30,39,36,20,4F,63,74,20,32,35,20,31,33,3A,32,35,20,
    < 2009-11-30 19:15:09.720 2E,2E,00,00,00,0F,00,00,00,00,00,00,10,00,00,00,00,00,00,00,00,00,00,00,41,
    < 2009-11-30 19:15:09.720 ED,38,6D,43,87,4A,E4,B4,33,
    > 2009-11-30 19:15:09.720 Type: SSH_FXP_READDIR, Size: 13, Number: 780
    > 2009-11-30 19:15:09.720 0C,00,00,03,0C,00,00,00,04,00,00,00,00,
    . 2009-11-30 19:15:09.720 Sent 17 bytes
    . 2009-11-30 19:15:09.720 There are 0 bytes remaining in the send buffer
    . 2009-11-30 19:15:09.720 Looking for network events
    . 2009-11-30 19:15:09.720 Timeout waiting for network events
    . 2009-11-30 19:15:09.720 Read file '.' from listing
    . 2009-11-30 19:15:09.720 Read file 'Pix' from listing
    . 2009-11-30 19:15:09.720 Read file '..' from listing
    . 2009-11-30 19:15:09.720 Waiting for another 4 bytes
    . 2009-11-30 19:15:09.720 Looking for incoming data
    . 2009-11-30 19:15:09.720 Looking for network events
    . 2009-11-30 19:15:09.723 Detected network event
    . 2009-11-30 19:15:09.723 Enumerating network events for socket 872
    . 2009-11-30 19:15:09.723 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:09.723 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:09.723 Received 32 bytes (0)
    . 2009-11-30 19:15:09.723 Read 4 bytes (28 pending)
    . 2009-11-30 19:15:09.723 Read 28 bytes (0 pending)
    < 2009-11-30 19:15:09.723 Type: SSH_FXP_STATUS, Size: 28, Number: 780
    < 2009-11-30 19:15:09.723 65,00,00,03,0C,00,00,00,01,00,00,00,0B,45,6E,64,20,6F,66,20,66,69,6C,65,00,
    < 2009-11-30 19:15:09.723 00,00,00,
    < 2009-11-30 19:15:09.723 Status/error code: 1
    > 2009-11-30 19:15:09.723 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
    > 2009-11-30 19:15:09.723 04,00,00,04,04,00,00,00,04,00,00,00,00,
    . 2009-11-30 19:15:09.723 Sent 17 bytes
    . 2009-11-30 19:15:09.723 There are 0 bytes remaining in the send buffer
    . 2009-11-30 19:15:09.723 Looking for network events
    . 2009-11-30 19:15:09.723 Timeout waiting for network events
    . 2009-11-30 19:15:09.723 Startup conversation with host finished.
    . 2009-11-30 19:15:10.381 Session upkeep
    . 2009-11-30 19:15:10.381 Looking for network events
    . 2009-11-30 19:15:10.381 Detected network event
    . 2009-11-30 19:15:10.381 Enumerating network events for socket 872
    . 2009-11-30 19:15:10.381 Enumerated 1 network events making 1 cumulative events for socket 872
    . 2009-11-30 19:15:10.381 Handling network read event on socket 872 with error 0
    . 2009-11-30 19:15:10.381 Received 28 bytes (0)
    . 2009-11-30 19:15:10.884 Session upkeep
    . 2009-11-30 19:15:10.884 Looking for network events
    . 2009-11-30 19:15:10.884 Timeout waiting for network events
    . 2009-11-30 19:15:11.395 Session upkeep
    . 2009-11-30 19:15:11.395 Looking for network events
    . 2009-11-30 19:15:11.395 Timeout waiting for network events
    . 2009-11-30 19:15:11.895 Session upkeep
    . 2009-11-30 19:15:11.895 Looking for network events
    . 2009-11-30 19:15:11.895 Timeout waiting for network events
    . 2009-11-30 19:15:12.410 Session upkeep
    . 2009-11-30 19:15:12.410 Looking for network events
    . 2009-11-30 19:15:12.410 Timeout waiting for network events
    . 2009-11-30 19:15:12.910 Session upkeep
    . 2009-11-30 19:15:12.910 Looking for network events
    . 2009-11-30 19:15:12.910 Timeout waiting for network events
    . 2009-11-30 19:15:13.423 Session upkeep
    . 2009-11-30 19:15:13.423 Looking for network events
    . 2009-11-30 19:15:13.423 Timeout waiting for network events
    . 2009-11-30 19:15:13.922 Session upkeep
    . 2009-11-30 19:15:13.922 Looking for network events
    . 2009-11-30 19:15:13.922 Timeout waiting for network events

    Hope some of this helps.
    Bjarne Winkler
    ---------------------------------------------------
    ==> Pre: There's a patch for that!
  14. spud101's Avatar
    Posts
    868 Posts
    Global Posts
    876 Global Posts
    #54  
    I still don't get it this whole optware stuff??

    Do I have to follow all sorts of instructions or does it suffice to just install the optware bootstrap from preware. And after that the required other optware packages to enable SFTP?
  15.    #55  
    Spud101, No this is LINUX, meaning with no dis-respect to all the LINUX developers, that you have to follow some instruction, but it is a onetime deal and when I upgraded to 1.3.1 I did not have to remove or update any of the stuff. One major reason is that this is not a patch it is installing a real program and activate it.
    Bjarne Winkler
    ---------------------------------------------------
    ==> Pre: There's a patch for that!
  16. #56  
    Now, the only difference I see is the use of the command

    Code:
    sudo /opt/libexec/sftp-server
    But I don't know where cyberduck takes such commands. I don't even know what parameter I should use on the terminal.

    I tried

    Code:
    ssh -i myKey -p 222 root@ipaddress -s 'sudo /opt/libexec/sftp-server'
    But it seems the wrong option.

    Code:
    debug1: channel 0: new [client-session]
    debug1: Entering interactive session.
    debug1: Sending subsystem: sudo /opt/libexec/sftp-server
    subsystem request failed on channel 0
    (at least after I tried it with my own user (not root), and have given my password, it still insists on a password!)

    Well I didn't read the manual carefully
    When I have more time I will go further into this.

    @Bjarne
    My question is, you must have copied something to your pre. At least my understanding is, that you have on the computer the private key and the public key is added to the authorized_keys. Are you sure that your DevMode is off?

    And thanks for your reply and your time

    @all
    Another question must the key be generated by dropbear?
  17. spud101's Avatar
    Posts
    868 Posts
    Global Posts
    876 Global Posts
    #57  
    Quote Originally Posted by Bjarne View Post
    Spud101, No this is LINUX, meaning with no dis-respect to all the LINUX developers, that you have to follow some instruction, but it is a onetime deal and when I upgraded to 1.3.1 I did not have to remove or update any of the stuff. One major reason is that this is not a patch it is installing a real program and activate it.
    Yes, I know what is going on. But since it is listed in Preware I was wondering whether it replaces all the terminal stuff. Or should I stay away from preware and install it manually, or does it require a combination of the two?
  18. #58  
    Quote Originally Posted by spud101 View Post
    Yes, I know what is going on. But since it is listed in Preware I was wondering whether it replaces all the terminal stuff. Or should I stay away from preware and install it manually, or does it require a combination of the two?
    I am working on moving all the stuff from the manual optware-bootstrap script into Preware. The goal is that the bootstrap scripts eventually become obsolete.

    You will need to learn how to create SSH keys, and upload the public key to a directory on the Pre (can probably be done with Internalz or Terminal), and someone will need to turn the instructions I have on the Homepage links for Dropbear and OpenSSH into real end-user accessible step-by-step instructions with screenshots before I'll be prepared to go public saying that the Preware method replaces the old method.

    So you guys can help me by making the wiki pages for Dropbear and OpenSSH give very detailed step-by-step instructions on how to create an SSH key and upload the public part to the Pre. The instructions need to cover Windows (use PuTTY), MacOS and Linux.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  19.    #59  
    Twinkybot, I would like to point out that I never got the dropbear working as you can see from the full posting. Does that mean that the dropbear is not working, not at all! However when I did the instructions found on How to SSH into Your Palm Pre! | Palm Pre Hacks Blog! I was up and running in no time.

    I am sure when rwhitby get the setup into an optware-bootstrap script in Preware we will all have something much easier to install and use.
    Bjarne Winkler
    ---------------------------------------------------
    ==> Pre: There's a patch for that!
  20. #60  
    At last!!!!
    Now what I did...

    I removed all packages like Dropbear, OpenSSH SFTP Server, OpenSSH, Optware Bootstrap.

    Then I activated Developer Mode.
    I had installed Dropbear etc. via the Tutorial given by Bjarne a whole while ago. So to be certain that all remains are removed, I plugged in the USB Cable and did

    Code:
    novacom -t open tty://
    than

    Code:
    ipkg-opt remove dropbear
    After that I installed via Preware the packages: Optware Bootstrap, OpenSSL, OpenSSH, OpenSSH SFTP Server

    Than I generated a pair of keys on my Mac!!!
    Now I moved the public key to the Pre and accessed Pre terminal and changed to root's home and followed the instructions from (sorry can't post; http sshkeychain sourceforge net/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOWTO-4 html)

    You don't have to remove the file authorized_keys. But I think I messed it up beforehand

    Code:
    root@palm-webos-device:/var/home/root# chmod 700 .ssh
    root@palm-webos-device:/var/home/root# mv /media/internal/download/nameOfPublicKey ~/.ssh/.
    root@palm-webos-device:/var/home/root# cd .ssh
    root@palm-webos-device:/var/home/root/.ssh# rm authorized_keys
    root@palm-webos-device:/var/home/root/.ssh# touch authorized_keys
    root@palm-webos-device:/var/home/root/.ssh# chmod 600 authorized_keys
    root@palm-webos-device:/var/home/root/.ssh# cat ../nameOfPublicKey >> authorized_keys
    root@palm-webos-device:/var/home/root/.ssh# rm nameOfPublicKey

    After that I could login via ssh and move files by wifi e.g. to /media/internal/music


    I think that some old installations of Dropbear and OpenSSH made all the problems.

    @Bjarne
    I still wonder why you didn't have to move the public key to your Pre


    EDIT:
    What use does Dropbear see?
Page 3 of 6 FirstFirst 123456 LastLast

Posting Permissions