In order to SSH to my Iphone i’ve tried a few tutorials until i found one working. So here is how I did and my setup :
Iphone : 3GS jailbroken
You must have OpenSSH installed.
OS : 3.1.3
Itunes version : 9
Windows XP / 7
After downloading itunnel9, unrar it. Then open runtunnel.cmd Click yes if your windows firewall prompts you.
Open winscp. In host name enter the for IP : 127.0.0.1
Leave the port as 22. Then click Login. Use root for username and alpine for password.
Itunnel : http://downloads.ziddu.com/downloadfile/7854834/itunnel9.zip.html
Instructions from here : http://developerinstincts.blogspot.com/2009/12/ssh-to-iphone-via-usb.html
Also you can use TunnelierPortable : http://www.ziddu.com/download/7854877/TunnelierPortablev184.108.40.206.zip.html and use the patch for it ( in case you have iTunes 9)
Instructions if you have iTunes 9.0.3 :
* Install its3.0.setup
* Copy the file itunnel fix file (named itunnel.exe) in the Bin folder of the installation folder iTunnel Suite, overwriting the original one. (
C:\Program Files\iPhone Tunnel Suite\bin)
* Right click on itunnel.exe and put XP SP3 compatibility, for Vista users and Windows 7.
* Go to
C:\Program Files\Common Files\Apple\Mobile Device Support\bin and copy the file iTunesMobileDevice.dll in
C:\Program Files\iPhone Tunnel Suite\bin.
C:\Program Files (x86)\Common Files\Apple\Mobile Device Support (for win7 x64) and copy the file iTunesMobileDevice.dll in
C:\Program Files (x86)\iPhone Tunnel Suite\bin.
Working version of iTunesMobileDevice.dll for me with Win7 x64 and iTunes 9.0.3 : 220.127.116.11, size 1.335.296 bytes