How to SSH into iPhone/iPod Touch using WinSCP (Windows)

How to SSH into iPhone/iPod Touch using WinSCP (Windows)

What is SSH?

SSH stands for Secure SHell.

It is just a protocol that allows you to access your iPhone or  iPod Touch from your desktop PC or MAC and execute commands on it (thus allowing you to copy any kind of data to and from the iPhone or  iPod Touch without iTunes). It’s also used for a lot of customization things if you know what you’re doing.

You can use a program like Cyberduck on MAC or WinSCP on Windows and you can browse your iPhone or iPod Touch  like any other hard drive and explore it’s content (which can be very interesting).

In this tutorial, I’m going to show you how to SSH into iPhone using WinSCP.

NOTE: This guide requires your iPhone/ iPod Touch to be connected to a wireless network.

In order to SSH into your iPhone you need to Jailbreak iPhone first. Use one of the guide to jailbreak iPhone:

How to jailbreak iPhone/iPod Touch

How to SSH into iPhone using WinSCP

Step 1 – Install OpenSSH

  1. Go to Cydia from your Springboard
  2. Go to Sections tab at the bottom of the screen.
  3. Under the Sections list, choose Networking.
  4. locate and Select OpenSSH from the list.
  5. Hit the Install button at the top right of the screen.
  6. Then hit the Confirm button
  7. After the installation is completed successfully, Press the big Return to Cydia button.




Now that you’ve installed OpenSSH now you’re vulnerable to external intruders with the default root password for SSH. Attacks on jailbroken iPhone with SSH installed with default password are increasing. So, we strongly recommend you to change your default root password used to SSH into iPhone before proceeding further. Follow the link below to change your SSH root password to Protect your iPhone/iPod Touch from intruders:

Change Root Password to Secure Your iPhone

Step 2 – Obtaining IP Address

Now you need to obtain the IP Address of your iPhone or iPod Touch.

  1. To obtain the IP address go to Settings.
  2. Under the Settings Menu, go to Wi-Fi.
  3. Make sure you’re connected to a wireless network. Press the Blue circled arrow button.
  4. There you will find your IP address. Please note that IP address.



Step 3 – SSH with WinSCP

Make sure your PC is on the same wireless network that of your iPhone.

Download WinSCP

Once you have downloaded, launch the WinSCP


Once WinSCP is opened, enter the following detailes:

  • Host Name: IP Address of your iPhone/iPod
  • Username: root
  • Password: alpine
  • Now hit the Login button.

ATTENTION: 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.

ssh-iphone-ipod-winscp (1)

WinSCP will start connecting to your iPhone.

ssh-iphone-ipod-winscp (2)

If a Warning dialogue box appears, click Yes

ssh-iphone-ipod-winscp (3)

Finally, after a few second you’ll be logged into your iPhone using WinSCP.

ssh-iphone-ipod-winscp (4)

You can access all your iPhone or iPod Touch folders from the right navigation pane. or use the drop down menu on the right side.

ssh-iphone-ipod-winscp (5)

If you want to transfer a file from your PC to your iPhone, simply locate the file you want to copy from your PC using the left pane. Then navigate to the desired location on you iPhone using the right pane. Now to copy the file to your iPhone, just drag it from the left pane to the right pane.

Note: As user dlr stated, it is a good idea to set auto-lock to never. You can do this by going to Settings > General > Auto-Lock and set to never.

84 comments… add one

Leave a Comment