TUTORIAL : SSH Into iPhone Using WinSCP for Windows
If you need to edit or transfer files on the iPhone and you are using windows you will need WinSCP. WinSCP is a free SFTP, FTP and SCP client for Windows. This will only work if you have jailbroken your iPhone.
Required Apps :
- WinSCP ( PC)
- Cydia ( iPhone )
- OpenSHH ( iPhone )
Now lets see how to SSH in to the iPhone using WinSCP. It is a good idea to set auto-lock to never on your iPhone ( Settings >> General >> Auto-Lock and set it to never )
- Fire up Cydia on your iPhone. [ Image ]
- Search for OpenSSH [ Image ]
- Press the Install button at the top right of the screen.
- Complete the installation of OpenSSH, then press the large Return to Cydia button.
- Hit the home button on your iPhone to return to the Springboard.
- Now we have to enable Wi-Fi ( Go in to Settings >> Wi-Fi )
- Once Connected to a wireless network, press the circular blue arrow button. ( Make sure you are on the same wireless network on both the PC and iPhone ) [ Image ]
- Note down your IP address, in our case it was ” 192.168.1.9 “. [ Image ]
- Launch WinSCP on your PC.
- Once WinSCP opens, enter your iPhone’s IP Address into the Host Name Field. Then enter root as your iPhone username and and alpine as the password. Then click Login. [ Image ]
- After a few seconds WinSCP should successfully log you into your iPhone. You will be placed in the /private/var/root directory.
- To get to the root folder of the iPhone you can select / from the dropdown on the right side of the window. From here you can access all the folders on your iPhone [ Image ]
- To transfer a file to the iPhone simply locate the file on your PC and drag and drop it into the right pane.

