Page 2 of 6 FirstFirst 123456 LastLast
Results 21 to 40 of 111
  1. #21  
    Quote Originally Posted by Bjarne View Post
    I also try to do:

    mv /home/root/.ssh/id_rsa /home/root/.ssh/authorized_keys
    Neither of the two pages you reference (which are the correct pages to follow) say to do that.

    -- 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
  2.    #22  
    . 2009-10-21 21:38:10.208 --------------------------------------------------------------------------
    . 2009-10-21 21:38:10.208 WinSCP Version 4.1.9 (Build 416) (OS 6.0.6002 Service Pack 2)
    . 2009-10-21 21:38:10.209 Login time: Wednesday, October 21, 2009 9:38:10 PM
    . 2009-10-21 21:38:10.209 --------------------------------------------------------------------------
    . 2009-10-21 21:38:10.209 Session name: root@10.0.0.6
    . 2009-10-21 21:38:10.209 Host name: 10.0.0.6 (Port: 22)
    . 2009-10-21 21:38:10.209 User name: root (Password: No, Key file: No)
    . 2009-10-21 21:38:10.209 Tunnel: No
    . 2009-10-21 21:38:10.209 Transfer Protocol: SFTP (SCP)
    . 2009-10-21 21:38:10.209 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
    . 2009-10-21 21:38:10.209 Proxy: none
    . 2009-10-21 21:38:10.210 SSH protocol version: 2; Compression: No
    . 2009-10-21 21:38:10.210 Bypass authentication: No
    . 2009-10-21 21:38:10.210 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
    . 2009-10-21 21:38:10.210 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
    . 2009-10-21 21:38:10.210 SSH Bugs: -,-,-,-,-,-,-,-
    . 2009-10-21 21:38:10.210 SFTP Bugs: -,-
    . 2009-10-21 21:38:10.210 Return code variable: Autodetect; Lookup user groups: Yes
    . 2009-10-21 21:38:10.210 Shell: default, EOL: 0
    . 2009-10-21 21:38:10.210 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
    . 2009-10-21 21:38:10.210 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
    . 2009-10-21 21:38:10.210 Local directory: default, Remote directory: home, Update: No, Cache: Yes
    . 2009-10-21 21:38:10.210 Cache directory changes: Yes, Permanent: Yes
    . 2009-10-21 21:38:10.210 DST mode: 1
    . 2009-10-21 21:38:10.210 --------------------------------------------------------------------------
    . 2009-10-21 21:38:10.298 Looking up host "10.0.0.6"
    . 2009-10-21 21:38:10.298 Connecting to 10.0.0.6 port 22
    . 2009-10-21 21:38:20.058 Server version: SSH-2.0-dropbear_0.52
    . 2009-10-21 21:38:20.059 We claim version: SSH-2.0-WinSCP_release_4.1.9
    . 2009-10-21 21:38:20.059 SSPI: acquired credentials for: Bjarne Winkler@Zima
    . 2009-10-21 21:38:20.059 Cannot convert IP address to SPN: DNS is not trusted
    . 2009-10-21 21:38:20.059 GSSKEX disabled: The operation completed successfully.

    . 2009-10-21 21:38:20.059 Using SSH protocol version 2
    . 2009-10-21 21:38:20.072 Using Diffie-Hellman with standard group "group1"
    . 2009-10-21 21:38:20.072 Doing Diffie-Hellman key exchange with hash SHA-1
    . 2009-10-21 21:38:20.408 Host key fingerprint is:
    . 2009-10-21 21:38:20.408 ssh-rsa 1040 fd:74:f1:29:88:84:91:a9:36:81:ba:a1:71:6c:9e:cf
    . 2009-10-21 21:38:20.408 Initialised AES-256 SDCTR client->server encryption
    . 2009-10-21 21:38:20.408 Initialised HMAC-SHA1 client->server MAC algorithm
    . 2009-10-21 21:38:20.408 Initialised AES-256 SDCTR server->client encryption
    . 2009-10-21 21:38:20.408 Initialised HMAC-SHA1 server->client MAC algorithm
    ! 2009-10-21 21:38:21.226 Using username "root".
    . 2009-10-21 21:38:21.237 Disconnected: No supported authentication methods available
    * 2009-10-21 21:38:21.242 (ESshFatal) Disconnected: No supported authentication methods available
    * 2009-10-21 21:38:21.242 Authentication log (see session log for details):
    * 2009-10-21 21:38:21.242 Using username "root".
    * 2009-10-21 21:38:21.242
    * 2009-10-21 21:38:21.242 Authentication failed.
  3. #23  
    Now you need to check /var/log/messages on the Pre to see why the server is rejecting the connection.

    Permissions of the authorized_keys file is a common problem.

    -- 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
  4.    #24  
    ===========================
    // WinSCP Log File:
    ===========================
    . 2009-10-22 21:17:13.599 Looking up host "192.168.0.193"
    . 2009-10-22 21:17:13.600 Connecting to 192.168.0.193 port 22
    . 2009-10-22 21:17:13.821 Server version: SSH-2.0-dropbear_0.52
    . 2009-10-22 21:17:13.821 We claim version: SSH-2.0-WinSCP_release_4.1.9
    . 2009-10-22 21:17:13.827 SSPI: acquired credentials for: Bjarne Winkler@Zima
    . 2009-10-22 21:17:13.827 Cannot convert IP address to SPN: DNS is not trusted
    . 2009-10-22 21:17:13.827 GSSKEX disabled:
    . 2009-10-22 21:17:13.827 Using SSH protocol version 2
    . 2009-10-22 21:17:13.828 Using Diffie-Hellman with standard group "group1"
    . 2009-10-22 21:17:13.828 Doing Diffie-Hellman key exchange with hash SHA-1
    . 2009-10-22 21:17:14.150 Host key fingerprint is:
    . 2009-10-22 21:17:14.150 ssh-rsa 1040 fd:74:f1:29:88:84:91:a9:36:81:ba:a1:71:6c:9e:cf
    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR client->server encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 client->server MAC algorithm
    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR server->client encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 server->client MAC algorithm
    ! 2009-10-22 21:17:14.154 Using username "root".
    . 2009-10-22 21:17:14.159 Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 (ESshFatal) Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 Authentication log (see session log for details):
    * 2009-10-22 21:17:14.169 Using username "root".
    * 2009-10-22 21:17:14.169
    * 2009-10-22 21:17:14.169 Authentication failed.

    ===========================
    // /var/log/messages file:
    ===========================
    root@castle: cat /var/log/messages
    2009-10-23T04:24:41.469604Z [1703] castle authpriv.info dropbear[2283]: Child connection from 192.168.0.104:54560
    2009-10-23T04:24:41.796325Z [1704] castle authpriv.info dropbear[2283]: exit before auth: Disconnect received
    2009-10-23T04:25:28.253570Z [1750] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.wan.til-69) for 5000ms => true
    2009-10-23T04:25:28.253997Z [1750] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.wan.til-69)
    2009-10-23T04:25:34.881011Z [1757] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.display-lock.timer) for 3000ms => true
    2009-10-23T04:25:35.210357Z [1757] castle user.warning powerd: POWERD-SUSPEND: IdleCheck can't sleep because because an activity is active:
    2009-10-23T04:25:35.210754Z [1757] castle user.info powerd: POWERD-SUSPEND: Activities since wake:
    2009-10-23T04:25:35.210998Z [1757] castle user.info powerd: POWERD-ACTIVITY: (com.palm.display-lock.timer) for 3000 ms, expiry in 2670 ms
    2009-10-23T04:25:36.842620Z [1759] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.display-lock.timer)
    root@castle:

    ===========================
    // My notes:
    ===========================
    From what I can see from the two first lines in the Message Log the dropbear program gets call from 192.168.0.104, which is correct and then it receives a disconnect before it get to authenticate.

    Looking in the WinSCP log I can see that it is saying that it is disconnecting due to no supported authentication methods available (here I assume from the dropbear program).
  5. #25  
    Quote Originally Posted by Bjarne View Post
    ===========================
    // WinSCP Log File:
    ===========================
    . 2009-10-22 21:17:13.599 Looking up host "192.168.0.193"
    . 2009-10-22 21:17:13.600 Connecting to 192.168.0.193 port 22
    . 2009-10-22 21:17:13.821 Server version: SSH-2.0-dropbear_0.52
    . 2009-10-22 21:17:13.821 We claim version: SSH-2.0-WinSCP_release_4.1.9
    . 2009-10-22 21:17:13.827 SSPI: acquired credentials for: Bjarne Winkler@Zima
    . 2009-10-22 21:17:13.827 Cannot convert IP address to SPN: DNS is not trusted
    . 2009-10-22 21:17:13.827 GSSKEX disabled:
    . 2009-10-22 21:17:13.827 Using SSH protocol version 2
    . 2009-10-22 21:17:13.828 Using Diffie-Hellman with standard group "group1"
    . 2009-10-22 21:17:13.828 Doing Diffie-Hellman key exchange with hash SHA-1
    . 2009-10-22 21:17:14.150 Host key fingerprint is:
    . 2009-10-22 21:17:14.150 ssh-rsa 1040 fd:74:f1:29:88:84:91:a9:36:81:ba:a1:71:6c:9e:cf
    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR client->server encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 client->server MAC algorithm
    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR server->client encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 server->client MAC algorithm
    ! 2009-10-22 21:17:14.154 Using username "root".
    . 2009-10-22 21:17:14.159 Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 (ESshFatal) Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 Authentication log (see session log for details):
    * 2009-10-22 21:17:14.169 Using username "root".
    * 2009-10-22 21:17:14.169
    * 2009-10-22 21:17:14.169 Authentication failed.

    ===========================
    // /var/log/messages file:
    ===========================
    root@castle: cat /var/log/messages
    2009-10-23T04:24:41.469604Z [1703] castle authpriv.info dropbear[2283]: Child connection from 192.168.0.104:54560
    2009-10-23T04:24:41.796325Z [1704] castle authpriv.info dropbear[2283]: exit before auth: Disconnect received
    2009-10-23T04:25:28.253570Z [1750] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.wan.til-69) for 5000ms => true
    2009-10-23T04:25:28.253997Z [1750] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.wan.til-69)
    2009-10-23T04:25:34.881011Z [1757] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.display-lock.timer) for 3000ms => true
    2009-10-23T04:25:35.210357Z [1757] castle user.warning powerd: POWERD-SUSPEND: IdleCheck can't sleep because because an activity is active:
    2009-10-23T04:25:35.210754Z [1757] castle user.info powerd: POWERD-SUSPEND: Activities since wake:
    2009-10-23T04:25:35.210998Z [1757] castle user.info powerd: POWERD-ACTIVITY: (com.palm.display-lock.timer) for 3000 ms, expiry in 2670 ms
    2009-10-23T04:25:36.842620Z [1759] castle user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.display-lock.timer)
    root@castle:

    ===========================
    // My notes:
    ===========================
    From what I can see from the two first lines in the Message Log the dropbear program gets call from 192.168.0.104, which is correct and then it receives a disconnect before it get to authenticate.

    Looking in the WinSCP log I can see that it is saying that it is disconnecting due to no supported authentication methods available (here I assume from the dropbear program).
    Oh, you need to bring your private key (id_rsa) back to the host computer for WinSCP to use (you may need to convert it first - I'm not sure what formats WinSCP supports).

    -- 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.    #26  
    Well, I am beginning to understand how this is working: dropbearkey creates a id_rsa key (one or two – here I am thinking a private key for dropbear to use and a public key for WinSCP to use).

    Now my task is to a) figure out how to get the public id_rsa key to the computer and b) how to create a WinSCP key that it can send to dropbear for login.
  7.    #27  
    Look at my posting from yester day. It does look like WinSCP is sending a ssh_rsa key:
    ===========================
    // WinSCP Log File:
    ===========================
    . 2009-10-22 21:17:13.599 Looking up host "192.168.0.193"
    . 2009-10-22 21:17:13.600 Connecting to 192.168.0.193 port 22
    . 2009-10-22 21:17:13.821 Server version: SSH-2.0-dropbear_0.52
    . 2009-10-22 21:17:13.821 We claim version: SSH-2.0-WinSCP_release_4.1.9
    . 2009-10-22 21:17:13.827 SSPI: acquired credentials for: Bjarne Winkler@Zima
    . 2009-10-22 21:17:13.827 Cannot convert IP address to SPN: DNS is not trusted
    . 2009-10-22 21:17:13.827 GSSKEX disabled:
    . 2009-10-22 21:17:13.827 Using SSH protocol version 2
    . 2009-10-22 21:17:13.828 Using Diffie-Hellman with standard group "group1"
    . 2009-10-22 21:17:13.828 Doing Diffie-Hellman key exchange with hash SHA-1
    . 2009-10-22 21:17:14.150 Host key fingerprint is:
    . 2009-10-22 21:17:14.150 ssh-rsa 1040 fd:74:f1:29:88:84:91:a9:36:81:ba:a1:71:6c:9e:cf

    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR client->server encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 client->server MAC algorithm
    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR server->client encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 server->client MAC algorithm
    ! 2009-10-22 21:17:14.154 Using username "root".
    . 2009-10-22 21:17:14.159 Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 (ESshFatal) Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 Authentication log (see session log for details):
    * 2009-10-22 21:17:14.169 Using username "root".
    * 2009-10-22 21:17:14.169
    * 2009-10-22 21:17:14.169 Authentication failed.
  8. #28  
    Quote Originally Posted by Bjarne View Post
    Well, I am beginning to understand how this is working: dropbearkey creates a id_rsa key (one or two – here I am thinking a private key for dropbear to use and a public key for WinSCP to use).

    Now my task is to a) figure out how to get the public id_rsa key to the computer and b) how to create a WinSCP key that it can send to dropbear for login.
    id_rsa (private key) needs to be on the host, and id_rsa.pub (public key) is already on the Pre in authorized_keys.

    Quote Originally Posted by Bjarne View Post
    Look at my posting from yester day. It does look like WinSCP is sending a ssh_rsa key:
    ===========================
    // WinSCP Log File:
    ===========================
    . 2009-10-22 21:17:13.599 Looking up host "192.168.0.193"
    . 2009-10-22 21:17:13.600 Connecting to 192.168.0.193 port 22
    . 2009-10-22 21:17:13.821 Server version: SSH-2.0-dropbear_0.52
    . 2009-10-22 21:17:13.821 We claim version: SSH-2.0-WinSCP_release_4.1.9
    . 2009-10-22 21:17:13.827 SSPI: acquired credentials for: Bjarne Winkler@Zima
    . 2009-10-22 21:17:13.827 Cannot convert IP address to SPN: DNS is not trusted
    . 2009-10-22 21:17:13.827 GSSKEX disabled:
    . 2009-10-22 21:17:13.827 Using SSH protocol version 2
    . 2009-10-22 21:17:13.828 Using Diffie-Hellman with standard group "group1"
    . 2009-10-22 21:17:13.828 Doing Diffie-Hellman key exchange with hash SHA-1
    . 2009-10-22 21:17:14.150 Host key fingerprint is:
    . 2009-10-22 21:17:14.150 ssh-rsa 1040 fd:74:f1:29:88:84:91:a9:36:81:ba:a1:71:6c:9e:cf

    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR client->server encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 client->server MAC algorithm
    . 2009-10-22 21:17:14.150 Initialised AES-256 SDCTR server->client encryption
    . 2009-10-22 21:17:14.150 Initialised HMAC-SHA1 server->client MAC algorithm
    ! 2009-10-22 21:17:14.154 Using username "root".
    . 2009-10-22 21:17:14.159 Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 (ESshFatal) Disconnected: No supported authentication methods available
    * 2009-10-22 21:17:14.169 Authentication log (see session log for details):
    * 2009-10-22 21:17:14.169 Using username "root".
    * 2009-10-22 21:17:14.169
    * 2009-10-22 21:17:14.169 Authentication failed.
    That's the computer's key, not your key.

    -- 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
  9.    #29  
    Sometimes frustration gets to you! ==> I my case I selected to remove the dropbear program and then go to How to SSH into Your Palm Pre! | Palm Pre Hacks Blog! where there are instruction on how to SSH into your Palm Pre.

    I had already installed the Terminal program on the Pre so it was just a case of hitting the little Pre keyboard and boy does this work. I can highly recommend the trouble of typing the long commands. Before you do so you should take the time and visit Tiny URL - create a shorter link/ it will save lots of typos.

    Now I have WinSCP running via the Wifi and I can drag and drop files till I am blue in my face. Note: To keep the SSH alive you either have to connect the Pre with your USB cable (what a drag) in Just Charging mode and better place the Pre on the Touchstone and it will not go into sleep mode (you have to love the world of less cables – “there is no string on me”).

    Well I do want to say thanks to all of you guys on Pre Central Forum and my perfect girlfriend Shay that knows everything that looks like UNIX or Linux. I should have introduced her to the Pre much earlier, but now I know what I could give here for Xmas if just Verizon will carry the Pre.
  10. robdos's Avatar
    Posts
    199 Posts
    Global Posts
    205 Global Posts
    #30  
    Hi

    I've followed the "how to SSH..." instructions to the letter, and successfully got to "now this is where the fun begins" but I cannot get WinSCP to connect - can you give me some advice what to do next? I get a Connection timed out error from WinSCP

    *EDIT* Its okay I'm in - hurrah - true wireless goodness!
    Last edited by robdos; 10/26/2009 at 06:59 AM. Reason: Done it!
  11.    #31  
    I am not the expert here, just because I got it to work; however I did learn something here thanks to some good reading plus help from other here on the Forum – thanks to everyone, it was appreciated.

    If I understand your posting correctly you did the rooting of the Pre (step 1). This can be done by installing Preware and then installing the Terminal program. I am not sure if you execute step 3 (step 2 is just notes for step 3).

    Under step 3 you get to setup the user name and password and you will be prompted for it when that part comes around. Have passion since the two scripts that you are running are not lighting fast, but it does get the job done.

    So if you can describe exactly what you have done and where it stopped I may be able to give you some pointers.

    Regarding setting up WinSCP, be sure that you select the Port No to 222 and File Protocol to SCP and since you are there then add your User Name and Password.

    Let the fun begin.
  12.    #32  
    Robdos, did you get it to work or did you give up?
  13. #33  
    I noticed when I used winSCP to transfer jpg's to my pre, the pre wouldn't recognize them if they were larger then 100k... anyone know why this is or what I need to do to fix it? I am assuming something got screwed up in file transfer greater then 100k, but don't have a clue how or why...
  14.    #34  
    Hello clintkoglin, I do not see that you should have any issues with 100K files. I just for the kick of it transferred a 208K JPG to the Pre and back to the PC and it worked.

    Can I suggest that you transfer the file to a folder that you have 100% read / write permission to? Then rename the file on the Pre and transfer it back to the PC. If you can do the above you know you have the full read / write access and now the big question did you lose any byte in the transaction?

    Hope this helps.

    PS: I am not a Linux person but thanks to the Pre and this and other Forums I am beginning to get the idea what is going on and under Linux permissions is the key where Windows have been so and so about that until Vista (now Windows 7) hit the street.
  15. APEowner's Avatar
    Posts
    85 Posts
    Global Posts
    86 Global Posts
    #35  
    Guys-I've been following this thread and have succeeded in SSHing into my Pre using WinSCP following the directions at this link How to SSH into Your Palm Pre! | Palm Pre Hacks Blog! . Very cool and thanks for all the info so far. I apparently need to change some permissions somewhere to be able to do anything really useful however. I can copy files to and from the /root/var/home/myusername directory but I'd really like to be able to copy files to and from the directory that the Photos app looks in. I belive that it's /media/internal/DCIM/100palm. I can read from it but I can't write to it. What am I missing?
  16. #36  
    Bjarne...

    Thanks for the reply. I found a 361k jpg that I uploaded to /media/internal/images/test... once uploaded, i used winscp to duplicate the file and rename it. I transfered the renamed file back to my desktop. The newly duplicated and renamed file opens fine on my desktop, but neither the original I uploaded or the duplicate I made and renamed on the pre using winscp show up in the photo viewer. They dont even make the picture count change for that folder. Photoviewer can see the other jpgs that are in the test folder fine. Also, looking at winCP, the file attributes for all the jpg's in that folder are the same, including then uploaded one and the duplicate. rwxr-xr-x

    Now if i shrink the test file using photoshop or any other software to be less then 100k, the file shows up ine on the pre...

    so confused...
  17. APEowner's Avatar
    Posts
    85 Posts
    Global Posts
    86 Global Posts
    #37  
    I fixed my problem using the suggestions in this thread. http://forums.precentral.net/web-os-...-denied-2.html
  18.    #38  
    Guys,
    Here we go with a step-by-step solution with regards to ensure that you have full control over folders and files on the Pre when you use the WinSCP program.

    In WinSCP:
    Be sure that the Advanced Option is checked.

    Under Environment you find the SFTP option where you can set the Protocol Options for the SFTP Server; set this to “sudo /opt/libexec/sftp-server” (no quotes).

    Under the Session option you need Host Name (your IP address) and Port Number “222”.

    Be sure the File Protocol is set to SFTP.

    Save the Session under an arbitrary name that is associated with the IP address you used. This will save you some time later when you want to login.

    Before you login to the Pre you need a couple of things:
    Turn on the developer mode (you can download DevMode using FileCoaster or DeveloperMode using Preware) to control that setting.

    Also ensure that you phone is charging either via the TouchStone or the USB cable, if not the Pre will go to sleep and stop communicate with the WinSCP program.

    Now you can start a session with WinSCP.
    Under login you may the first time get information who the Server is (Pre), accept that dialog box and you will not see it again.

    After login use the WinSCP menu option Commands | Open Putty or {CTRL}P to start Putty.

    In Putty:
    Enter your password and you will get the yourname@castle prompt
    At the yourname@castle prompt enter “sudo –i” (still; no quotes) and hit enter. The Sudo command will prompt you for your password again to ensure you are you.

    Your yourname@castle prompt will change to root@castle prompt: You are now fully rooted.

    At the root@castle prompt enter “mount –o remount,rw /” and hit enter.

    This should list you some 20 lines of text. If that does not happen then you either missed the step when you turned the Pre into developer mode or most likely the step where you needed to enter “sudo /opt/libexec/sftp-server”.

    At this time you can create/rename/delete files and folders; you can drag and drop from PC to Pre and back again using WinSCP.

    When done switch back to the Putty window; enter “mount –o remount,ro /” and hit enter

    Then enter “exit” and that should end the Putty session.

    Close the WinSCP and you are back to normal.
  19.    #39  
    Guys,
    This is a corrected version after I did some more testing. Note: You can skip many steps here if you do not need the full rooting!

    In WinSCP:
    Be sure that the Advanced Option is checked.

    Under Environment you find the SFTP option where you can set the Protocol Options for the SFTP Server; set this to “sudo /opt/libexec/sftp-server” (no quotes).

    Under the Session option you need Host Name (your IP address) and Port Number “222”.

    Be sure the File Protocol is set to SFTP.

    Save the Session under an arbitrary name that is associated with the IP address you used. This will save you some time later when you want to login.

    NOTE: The Pre does not have to be in developer mode if you are only moving files back and forth between your Pre and the PC. Nor do you need to “sudo –i”, like you do not need to “mount –o remount,rw /” either – so no need to play around with Putty. All the magic is done with the “sudo /opt/libexec/sftp-server” command in the login protocol.

  20.    #40  
    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.
Page 2 of 6 FirstFirst 123456 LastLast

Posting Permissions