Connect to iPhone using SSH

main

This tutorial is wrote assuming you have already jail-broken your iPhone. If you have not jailbroken your iPhone please read my earlier blog regarding this. I will also assume your iPhone is the 3g series with the 2.2.* software installed. This article is also aimed at Windows users rather than you apple guys out there. Also please ensure you are connected to a wifi network.

This blog will take you through step by step on how to log in to your iPhone from your PC using an SSH (secure shell) client. The use of SSH on a iPhone is to be able to change themes and add other such information to your iPhone directories which are hidden and locked to a normal user.

First of you will need to install SSH app on to your iPhone so that it is possible for you to log in to your phone. I recommend you use the application called OpenSSH (this will not install an icon but will run in the back ground) you can get this from Cydia or the Installer application.

ssh-host

Secondly you will need to install software on to your PC to allow you to connect. I opted for a graphical SSH client rather than a command line client as I can not be bothered with learning the commands and I personally feel that using a command line makes a simple task a lot harder.

The software package I opted for is simple to use and is called WinSCP you can download this here. Now once this is installed to connect all you need to enter is the IP address (h0st) of your iPhone (which you can find following the steps below) and the username and password which is pre-set on an iPhone.

Username: root

Password: alpine

ssh-login

Once connected you will see a window which some what resembles explorer. There are many directories on your iPhone and I do not recommend you delete random things. The directories in most cases are labelled well.

ssh-client

To find iPhone ip address follow these steps:

  • Go to 'Settings'
  • Select 'Wi-Fi'
  • Select the blue arrow alongside the network connected to
  • IP address will be shown

If you have any further questions please do contact me using the contact page or in the comments below. More than willing to help you guys out.

Related Posts

  1. Gameboy Emulator on iPhone
  2. LiveCliq – iPhone Application
  3. Jailbreaking the iPhone
  4. Best JailBroken iPhone Apps – Part Two