July 12, 2024

How to SSH Into Your iPhone Using WinSCP (Windows)

Posted March 12, 2009 at 9:47pm by iClarified
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
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Two
Press to select the Sections tab at the bottom of the screen.
How to SSH Into Your iPhone Using WinSCP (Windows)


Step Three
Press to select Networking from the list of Sections.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Four
Press to select OpenSSH from the list of Packages.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Five
Press the Install button at the top right of the screen.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Six
Press the Confirm button at the top right of the screen.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Seven
Once installation has completed successfully press the large Return to Cydia button.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Eight
Hit the home button on your iPhone to return to the Springboard.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Nine
We must now obtain the IP Address of the iPhone. To do this press the Settings button on your Springboard.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Ten
Press to select Wi-Fi from the Settings Menu
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Eleven
Make sure you are connected to a wireless network then press the circular blue arrow button.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Twelve
Take note of your IP address from the Wi-Fi details screen
How to SSH Into Your iPhone Using WinSCP (Windows)

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.
How to SSH Into Your iPhone Using WinSCP (Windows)

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.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Fifteen
You will now see WinSCP connecting to your iPhone. The first time you login using SSH, it may take 30-45 seconds.
How to SSH Into Your iPhone Using WinSCP (Windows)

Step Sixteen
If a Warning dialogue pops up, click Update or Add
How to SSH Into Your iPhone Using WinSCP (Windows)

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.
How to SSH Into Your iPhone Using WinSCP (Windows)

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
How to SSH Into Your iPhone Using WinSCP (Windows)

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.
How to SSH Into Your iPhone Using WinSCP (Windows)

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



Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (15)
You must login or register to add a comment...
Tom
Tom - March 25, 2013 at 1:31pm
Thanks a lot,this is useful Article
Erna
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
Rayan - December 28, 2013 at 10:23pm
hanuman
hanuman - March 2, 2013 at 6:09pm
Thanks a lot for this self explanatory step by step tutorial... !!! :-)
Tianna
Tianna - August 27, 2013 at 2:49am
Your website has to be the elecrtonic Swiss army knife for this topic.
melanie v.
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
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
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
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
Aaron
Aaron - November 16, 2010 at 1:15am
I found this article to be very useful. All I need help with is some of my applications I have downloaded are pretty big. Like, the Tomtom GPS app. It took me an hour and a half to download it but found that all I really need is a few languages and the maps themselves. Is there any way I can ssh into the app and get rid of some of the useless parts of it? I already ssh(ed) into my phone and looked for tomtom and I couldn't find it. It wasnt in the applications folder or anything. Please help. Thanks.
Jim Danner
Jim Danner - May 1, 2009 at 6:44am
PLEASE add a warning that people should change the root and mobile passwords. Having OpenSSH running with the default passwords is dangerous when you're on a public network, and even the phone's 3G/EDGE/GPRS connection can be unsafe! See http://thebigboss.org/2008/11/30/why-ssh-on-restart-is-required/ comment 10.
angel
angel - March 14, 2009 at 1:02pm
i dont know the location i should put the files in my iphone using winscp
dlr
dlr - March 13, 2009 at 11:15am
Great tut...I'd like to suggest that users go the General Settings of their iPhone/Touch and set the Auto Lock of their unit to "Never".
Khaled
Khaled - March 13, 2009 at 7:18pm
good call! thank you...
Hellen posada
Hellen posada - January 3, 2014 at 3:52am
Hola no puedo liberara mi telefono no encuentro que programa de Cydia Es nose desesito ayuda
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS