WeatherIcon 2.1.14 – Fixes Phone Bugs SpotBright – Makes Spotlight Search Launch Hidden Apps

Getting SSH to work on the iPhone 3GS

July 4, 2009 by Brooke  
Categories: OpenSSH, iPhone 3GS
Tags: , , , , ,

11 Comments
14,034 views

##ICON_NAME## We are getting emails from people asking how to get SSH to work on the iPhone 3GS. The only thing that is different is that you have to change the File Protocol to SCP. Below are step-by-step instructions.

1. You will need to have a jailbroke iPhone or iPod Touch in order to SSH into your iPhone or iPod Touch. For more information on Jailbreaking, please see our F.A.Q. Page.

2. When you jailbreak your iPhone/iPod Touch, the Cydia application will be added to your SpringBoard with the rest of your applications. You will want to go into Cydia and search for the OpenSSH application. If it is not already installed, you will need to install it.

3. Then you will need some type of SSH client installed on your computer. WinSCP is great for PCs. Macs come with openssh but if you’d like some alternatives check here.

4. To sign into the iPhone, the Host Name is the iPhone’s IP address which you can find by going into your Settings application on your iPhone (or iPod Touch) and then into the Wi-fi option, click on the little arrow next to the Wi-Fi you are connected to and find the IP address. The username is root and password is alpine (no capitals). Don’t worry about the Private key file, you don’t need to put anything there.

5. On an iPhone 3GS, you will need to change the File Protocol to SCP. The default is most likely SFTP. Just select the arrow next to the option and select SCP.

file-protocol

6. Hit login.

Helpful Hints:
- The first time you connect it takes longer than usual, about 30 full seconds.
- Your iPhone must stay turned on, so disable autolock
- Your iPhone and computer must be on the same network, ssh connects via wifi on the iPhone.

Similar Articles:

How do I get themes onto my iPhone (firmware 2.x)? (19119 views)

How do I change the dialer on my iPhone? (12014 views)

iScreenshot (885 views)

How do I get themes onto my iPhone (firmware 1.1.4 and below)? (45094 views)

Color Fading Theme for WinterBoard – Modding (4538 views)

Comments

11 Responses to “Getting SSH to work on the iPhone 3GS”

  1. macv on July 5th, 2009 2:14 am:

    hi it looks like on cyberduck (on a mac) there is no option to choose scp
    and when i choose sftp it says unexpected error
    any advice on what i should do?

    [Reply]

    Corkman on July 5th, 2009 4:57 am:

    Try http://rsug.itd.umich.edu/software/fugu/download.html
    Have not tested as no 3GS only 3G but loaded and does have the option for SCP

    Corkman

    Douglas on July 5th, 2009 11:28 am:

    I also can’t get it to work on cyberduck. I’ll let you know if I figure it out.

    macv on July 5th, 2009 12:23 pm:

    it works however it i don’t’ know how to activate the browser for the iphone on this application

  2. SSH la guida aggiornata « iPhone World on July 5th, 2009 5:16 am:

    [...] [via] [...]

  3. Mark on July 5th, 2009 5:41 am:

    You have to choose SCP to ssh into the iphone 3G as well, so no difference really?!

    [Reply]

    Brooke on July 5th, 2009 6:40 am:

    I ssh into our all our iPhone 3G’s with SFTP.

    Corkman on July 5th, 2009 10:39 am:

    Exactly, use SFTP on all other iPhones

  4. rje on July 5th, 2009 2:52 pm:

    I don’t mean to be disrespectful, but the high school I attended was really strict when it came to the English language. Brooke, you keep referring to “jailbroke” iPhones. The way to say it is “jailbroken” iPhones. Sorry, no contempt intended, it just bugs me.

    [Reply]

  5. Amrit on October 6th, 2009 5:50 am:

    Hi,
    I have jailbreak my iPhone 3gs through Cydia and removed Cydia from my iPhone. Now the problem is I have installed download manager lite onto my iphone and have downloaded couple of videos. Is there a way I can transfer those videos onto my PC. Please help!

    [Reply]

  6. Hisham on November 14th, 2009 2:47 pm:

    Hi,
    I have a jailbroken iphone 3gs, openssh use to work just fine for me
    without having to change protocols
    But now i just keep getting this error message saying server closed connection unexpectedly.
    I am not sure what caused this, i have tried to install a program to use iphone as a hard drive which required me to install a plugin called 1-ac….. “not sure of the name.” but then i un-installed all of this.
    anyways, i have restarted and restored and reset my iphone a fair couple of times, but, with no luck!

    any idead??

    [Reply]

Please leave a comment below...
and if you want a pic to show with your comment, go get a gravatar!





WeatherIcon 2.1.14 – Fixes Phone Bugs SpotBright – Makes Spotlight Search Launch Hidden Apps