ATTENTION: also read HowTo: SSH Into Your iPhone OS 3.0 ( Windows )
SSH or Secure Shell is a network protocol that allows data to be exchanged using a secure channel between two networked devices. I got a lot of emails asking me what exactly is SSH and how to do it.
I thought that this process is well known by now, but after answering literally tons of emails on this subject, i decided to create this tutorial and explain step by step how to do it.
This is ( in my opinion ) the first thing you need to learn after you jailbreak your iPhone ( OS 3.0 Mac and Windows ). First thing you need to do is to get a couple of things from Cydia: OpenSSH and SBSettings.
After SpringBoard respring , swipe your finger from the top of the iPhone/iTouch screen down to access SBSettings and make sure OpenSSH is turned ON. Also make sure you are on WiFi and WiFi is turned ON as well.
Next thing is to know your WiFi IP. You can find it out either in SBSettings or Settings>Wifi> Tap on the blue arrow next to your connection.
Now you gotta download a SSH client called Cyberduck. You can download it here. Unmount the .dmg file and install the client on your Mac. Now connect your iPhone/iTouch and load Cyberduck. In the first screen just click on Open Connection on the upper left corner.
Now select SFTP (SSH File Transfer Protocol) from the drop down menu at the top of the screen, for the server enter your IP address, username: root and password: alpine. Now click on Connect.
While connecting to your iPhone/iTouch you might get a host key mismatch. Dont worry about it just click Allow.
Thats it, congrats! Now, you can browse your iPhone or iTouch.