How to Install SSH on iPhone

By Partho, Gaea News Network
Thursday, March 12, 2009

apple_iphoneiPhone is getting associated with most high-end technologies. This time iPhone has the SSH connectivity tools. Well I am sure the power users would be rejoicing about it.  For those who are still wondering, what’s SSH all about? Let me tell you that SSH the most secured channel for exchanging data between networked devices. SSH once istalled in your iPhone will allow you to manage your phone, its files and correct different types of problems.  The key is how to install SSH in your iPhone. Installing SSH is exhausting, but I’ll let you an easier way.
There are two routes for installing Open SSH, either Cydia or installer. It’s never easy to launch SSH as you don’t get any sort of configuration icon. It’s better you install SBSettings to configure SSH. Here’s what you got to do to install Open SSH and SBSettings

Step 1: Open Cydia.
Step 2:On the search tab, type in Open SSH. Install Open SSH
Step 3:Look for the SBSettings.
Step 4: Install SBSettings, when the prompt appears restart springboard

There will be no icons for SBSettings or OpenSSH on your Desktop. In order to launch the SBSettings just swipe the top task bar. Using the toggles within SBSettings you can toggle SSH on and off. It can be used to turn off SSH when it is not in use. Once the SSH is installed, you need to connect to it. For this you would require an additional software.

The Windows users need to download two packages, WinSCP and putty. The Mac OS X users can work from the terminal.

To connect to the session you go ahead with the steps below

For the MAC OS X users

Step 1: Connect the iPhone via wifi
Step 2: Open Terminal
Step 3: Type in ssh root@iphoneipaddress (substitute the iphone’s IP address for iphoneipaddress). You will get the iphoneipaddress from the SBSetting, in the wifi field.
Step 4: The password is alpine (without the quotes). (For systems before 1.1.1 the password is dottie.

It would take nearly 30 seconds to connect for the first time. After it’s connected you get the Unix command prompt.

For Windows (using WinSCP)

WinSCP helps you to copy ROMs onto the phone or manage the file system.

Step 1: Open the WinSCP.exe
Step  2: Type in the phone’s IP address in Host name box (To get it, open the BossPrefs and look at the wifi field)
Step  3: In User name type in root
Step 4: For password type in Alpine. Ensure that File Protocol type is SCP
Step 5: Click Login

First time it’ll take around 30-60 seconds to connect. Once it’s connected you may get some warning about security key. Accept it and coninue. Finally, you will find the file browse box.

For On Windows (using putty)

Step 1: Open the putty.exe
Step 2: Type in the phone’s IP address in the Host Name address box. (get the IP address from SBSettings in the wifi field)
Step 3: Ensure that the connection type is SSH, click Open
Step 4: It will take more than 30 seconds to connect for the first time. Type the username as root and the password as Alpine (for systems before 1.1.1 the password is dottie)

Once this is done you would receive warning about the security key. Accept it and continue. Finally you get the Unix command prompt.

Discussion

ProGunNL
January 10, 2010: 4:31 pm

Thx it was very usefull


Jim
November 23, 2009: 3:02 pm

Hi Partho, good tutorial, it’s one of the first pages you get when you google SSH iPhone! There’s just one thing: PLEASE TELL PEOPLE TO CHANGE THEIR ROOT AND MOBILE PASSWORDS (sorry for shouting). The threats to jailbroken iPhones/iPod touches with OpenSSH installed are real and dangerous. You can link to a number of tutorials online, like redmondpie.com/how-to-secure-your-jailbroken-iphone-from-ssh-hack-9140084/

If you are a user who just read the tutorial, you can protect your device by following the instructions from the link. You should REALLY change BOTH the passwords.


u are a fucker
November 8, 2009: 7:15 am

u gave only partial information

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :