How to SSH Into Your iPhone Using WinSCP (Windows)

Posted March 12, 2009 at 9:47pm by iClarified | Please help us and submit a translation by clicking here | 825446 views
Portuguese (Brazil)  Slovak  

These are instructions on how to transfer files to your iPhone using WinSCP. To follow this tutorial you need to have a jailbroken iPhone with SSH installed. You can find instructions on how to jailbreak your iPhone here (3G) or here (2G)

Step One
Press the Cydia icon on your Springboard


Step Two
Press to select the Sections tab at the bottom of the screen.


Step Three
Press to select Networking from the list of Sections.


Step Four
Press to select OpenSSH from the list of Packages.


Step Five
Press the Install button at the top right of the screen.


Step Six
Press the Confirm button at the top right of the screen.


Step Seven
Once installation has completed successfully press the large Return to Cydia button.


Step Eight
Hit the home button on your iPhone to return to the Springboard.


Step Nine
We must now obtain the IP Address of the iPhone. To do this press the Settings button on your Springboard.


Step Ten
Press to select Wi-Fi from the Settings Menu


Step Eleven
Make sure you are connected to a wireless network then press the circular blue arrow button.


Step Twelve
Take note of your IP address from the Wi-Fi details screen


Step Thirteen
Make sure you are on the same wireless network as your iPhone and launch WinSCP by clicking it on your desktop, or in the start menu. You can download WinSCP from here.


Step Fourteen
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.


Step Fifteen
You will now see WinSCP connecting to your iPhone. The first time you login using SSH, it may take 30-45 seconds.


Step Sixteen
If a Warning dialogue pops up, click Update or Add


Step Seventeen
After about 30-45 seconds, WinSCP should successfully log you into your iPhone. You will be placed in the /private/var/root directory.


Step Eighteen
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 for example the Applications folder


Step Nineteen
To transfer a file to the iPhone simply locate your local (on your computer) file using the left pane. Then navigate to the desired location in the right pane. Drag the file from the left pane to the right pane to copy the file to your iPhone.


**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.



Share
Add Comment
Tom - March 25, 2013 at 1:31pm
Thanks a lot,this is useful Article
Erna - August 29, 2013 at 4:07pm
Acabo de liberar inpohe 3g 16g sin problemas, pero solo puedo llamar y recibir llamadas desde orange, con yoigo y telefonica ni llama ni recibe, si datos e internet. Me dice desvio de llamadas activado y no da sef1al ni tono, y despues de un rato llamada erronea. Alguna idea. Magnifico tutorial
Rayan - December 28, 2013 at 10:23pm
hanuman - March 2, 2013 at 6:09pm
Thanks a lot for this self explanatory step by step tutorial... !!! :-)
Tianna - August 27, 2013 at 2:49am
Your website has to be the elecrtonic Swiss army knife for this topic.
melanie v. - May 5, 2011 at 12:17pm
Okay so I did everything step by step and everything worked out fine but when dragging it left to right nothings happening. I moved it in a few places on my phone but I cant seem to find it. I even restarted my phone and tried again and I still can\'t find what I transfered to my phone. Please help..
jules - December 23, 2010 at 4:39pm
i have done everything and it all worked fine. one thing you failed to mention is copying the files to the \"desired location.\" for example, if everyone here is trying to add ROMs to the snes4iphone, would you copy and paste the ROM into the snes4iphone application (found under Applications) ?? and when you download the ROMs, do they need to be unzipped and then added? this is my only issue, and when I load the application on my phone, there is no ROMs on there, so basically its not work. missed a few details, please help, thank you.
Umaroh - May 5, 2013 at 1:49pm
Sooooooo, are you feeling gutsy?? (1 click) Just one litlte click.btw. Thanks for your reviews and the detail that you put into them. I've got the X and have watched most of your videos and still making up my mind on which ROM I would like. I am interested in knowing what would the phone be like with JUST root without adding any ROM? Also, are there any ROM's that allow the phone to function 100% of all functions i.e. camera res, battery life, etc.
raj - November 22, 2010 at 5:41am
im not able to connect ssh using winscp.... it gives network error: connection timed out..... plz help me
6 More Comments
Follow iClarified