How to Access iPhone 3GS via SSH on Windows Mac
The SSH (Secure Shell literally) is a network protocol that allows you to establish a remote connection between two or more hosts. This protocol will allow us to access the file system of the iPhone / iPod Touch when you ran the Jailbreak. We may, thus, transfer files and content at will, in any folder. once you’ve got ssh installed on your iPhone and active, you can access your iPhone from a shell on your Mac. You can send and retrieve files using scp or sftp. And you can use the compilation toolchain to build other Unix utils or even your own software. This how to guide can be used for any iPhone 2G, 3G or 3GS and iPod Touch 1G and 2G. In order to access your iPhone file system you need the following.
- An iPhone / iPod Touch Jailbroken
- Jailbreak iPhone 2g OS 3.0 Using RedSn0w on Windows Mac
- Jailbreak iPhone 3G OS 3.0 With RedSn0w on Windows Mac
- Jailbreak your iPhone 3GS with Purplera1n
- A network available WiFi or USB cable
- OpenSSH installed on the device, can be found through Cydia
- A program to connect to our device: For Windows environments recommend WinSCP, while the Mac is more popular Cyberduck
There is a little difference in procedure for Mac OS X and Windows. In the following we used Windows platform so screenshots are of WinSCP. Once you clears all terms given above than we can move forward.
- Note of your iPhone’s IP address from Settings > WiFi and tap on the blue arrow to the right of the name of your home network. In the next screen you can find the IP Address of your network.
- Now Launch your SSH program in this example we have used WinSCP. WinSCP will redirect you to a new ‘Session’ screen while in Cyberduck, you’ll need to choose ‘Open New Connection’. In the next screen you need to fill the following information
Hostname or Server = Type your iPhone’s IP address in this field
Username = Type ‘root’ (without the quotes) in this field
Password = Type ‘alpine’ in this field (without the quotes) or whatever you have
File Protocol = Should be SCP on WinSCP and SFTP on Cyberduck
- Fill the information and hit the login button and you will see a confirmation message asking if you will accept key exchange / connection with the device with the iPhone’s address.Voila you have done it now you gains the full access of your iPhone file system.









thanks so much! this was a great help. super fast and easy.
Where do you get the password from?
hello guys. is there any similar way for windows?
@Steve
The whole tutorial is about how to do this in Windows. WinSCP is the SSH client for Windows. It’s a free download. Cydia is a program on jailbroken iPhones.
By the way, don’t forget those passwords…
Hi Vinay,
Good tutorial, it is one of the first you see when you google SSH iPhone. However, the threats to jailbroken iPhones/iPod touches with OpenSSH installed are now very real and very dangerous. Please tell people to change both the root and mobile passwords after installing OpenSSH. You can link to a number of tutorials online, like Secure Your Jailbroken iPhone and Change your Default Password
If you are a user who read this, you should follow that link and change the passwords! Some users’ money was stolen after they failed to do so. It is an open door for criminal hackers.
1/2/10 03:33 am:
Right after jailbreaking my iphone 3g via blacksn0w, I prior to reading your great article, went ahead and changed my psw via . However, with regards to your procedures, I have not been able to get past the (using my Windows XP SP3 computer). There could be three points of error:
1) Host name: I’ve tried a mixture of either: and
2) User Name:
3) Password: I’ve tried a combination (with regards to #1 above) of: and .
Please advise!!!
if it says connection timeout- what could be the possible problem?
Hi all. I have managed to jailbreak my phone and install SSH. I have followed all the tutorials on how to get files onto my iphone via SSH but can’t actually find the files on my iphone. Do i have to put them in certain folders? AM i looking in the right places? Please help as i am getting frustrated with the whole process. Cheers
Leave your response!
Add Our Headlines To Your Online News Reader
Sponsors
Friends
Advertisement
Popular Posts
Most Commented
Recent Posts