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.
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.
6. Hit login.
- 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.