How To: connect to the iPhone via SSH (Mac)

These are the steps to follow to connect your Mac to your iPhone via SSH using Cyberduck:

  • install OpenSSH from Cydia
  • download Cyberduck here
  • when you run Cyberduck, this dialog appears:
  • click the Open Connection button
  • select SFTP (SSH File Transfer Protocol) from the combo-box
  • type the IP address into the Server field
  • type root into the Username field
  • type alpine into the Password field
  • click on Connect and wait until the connection to your iPhone is established..
  • ..done! Now a dialog will show up: you can drag & drop files, rename them and make other files operations as if you are using Finder..

8 Comments on "How To: connect to the iPhone via SSH (Mac)"

  1. jw November 24, 2009 at 2:32 am ·

    everytime i try this it just says network connection error :( any suggestions?

  2. iPhoneRuler November 26, 2009 at 12:14 pm ·

    Hi,

    make sure that:

    - you have access to the net over Wi-Fi
    - you have the correct IP address of the iPhone
    - you have installed OpenSSH from Cydia
    - you have selected SFTP as transfer protocol in Cyberduck
    - you have SSH turned on with the iPhone (check it with SBSettings)
    - your iPhone is in the same network of your Mac

    hope it helps.. bye!

  3. jc December 29, 2009 at 7:01 pm ·

    where would i find the ip adress for my ipod touch? is that the same as the serial number?

  4. iPhoneRuler January 7, 2010 at 9:12 am ·

    go to Settings -> Wi-Fi -> click on the right arrow near the wireless network you’re connected to and look at the field “IP Address”
    bye!

  5. AC August 12, 2010 at 2:14 pm ·

    How do I find the “root” and “alpine”?