Version 22, changed by guest. 09/12/2007. Show version history
Works with Jailbreak from iFuntastic 2.1 and iPhoneinterface
v3.3 (with working getfile and putfile)
Thanks to ziel, NerveGas?, Nightwatch, kroo, darkten, natetrue
and the rest of the crew from #iphone-dev and #iphone-shell
These OSX instructions were modified by bricolage based on
natetrue's Windows version here:
http://cre.ations.net/blog/post/howto-install-ssh-on-your-iphone
Also see http://iphone.natetrue.com/ for more downloads.
Dallas Brown has created an automated install of SSH onto the iPhone from MacOS?. You can download it at: http://iphone.port21.com/Code/iPhone_SSH_Install_for_Mac.zip
NB: Use of ">>>" simply denotes you're inside of the iphoneinterface shell. Use of "$" denotes you're at your own shell prompt.
# After running jailbreak
./iphoneinterface
>>>>>>>>>>
cd /usr/sbin
getfile update
cd /System/Library/LaunchDaemons
getfile com.apple.update.plist
exit
>>>
$ mv com.apple.update.plist com.apple.update.plist.orig
$ mv update update.orig
$ cp chmod update
$ cp com.apple.update.plist.chmod com.apple.update.plist
$ ./iphoneinterface
>>>>>>>>>>
cd /usr/sbin
putfile update
cd /System/Library/LaunchDaemons
putfile com.apple.update.plist
cd /bin
putfile chmod
putfile sh
putfile ls
mkdir /etc/init.d
cd /etc/init.d
putfile dropbear.sh
cd /etc
putfile hackinit.sh
cd /usr/bin
putfile dropbear
putfile scp
cd /usr/lib
putfile libarmfp.dylib
mkdir /etc/dropbear
cd /etc/dropbear
putfile dropbear_rsa_host_key
putfile dropbear_dss_host_key
exit
>>>
# Reboot your phone
$ rm update
$ rm com.apple.update.plist
$ cp update.orig update
$ cp com.apple.update.plist.hackinit com.apple.update.plist
$ ./iphoneinterface
>>>
cd /usr/sbin
putfile update
cd /System/Library/LaunchDaemons/
putfile com.apple.update.plist
putfile au.asn.ucc.matt.dropbear.plist
exit
>>>
# Reboot your phone
$ ssh root@LOCAL_IP_OF_IPHONE
You're done!
guest said, 08/06/2007:
what do i do on the VERY last step? where it says: ssh root@LOCAL_IP_OF_IPHONE
i got all the way to there...
THANKS