-
12-05-2009, 06:55 AM #1
[HOWTO] SSH to iPhone over USB for OS X
I'm not sure if this is the right forum, but here we go.
Until novi's iphone tunnel works again...
(Obviously, works only if you have SSH or another server installed on your iPhone/iTouch.)
1. Download iPhoneSSH.tar.bz2 (~25KB) from here:
http://rapidshare.com/files/316653216/iPhoneSSH.tar.bz2
(MD5: 9cd9253f1170587bc00d9f87e12402d8)
or
Download the latest usbmuxd distribution from here:
Abort, Retry, Hack? usbmuxd
2. Unpack to a convenient location (you just need the "python-client" folder if you downloaded the usbmuxd distribution)
3. Open terminal, change directory to the python-client-folder and type:
python tcprelay.py -t 22:2222 &
(the -t is for threaded-mode, meaning that you will be able to open more than one session/forward more than one port (as shown below))
4. Now open Fugu or another terminal session and connect to localhost @ port 2222 i.e. like this:
ssh -p 2222 root@localhost
Enjoy SSH over USB!
Additional info in the author's words:
further:[01:55] marcan:
you can forward any ports
[01:55] marcan:
where the iPhone is the server, and the PC the client
[01:56] marcan:
if you want to do the opposite, you could use socat to reverse the client/server roles or just use ssh forwarding/reverse forwarding (which will be slower though, due to the encryption)
[...]
[01:57] marcan:
also, TCP only of course
[01:52] marcan:
you can also add other ports
[01:52] marcan:
such as ./tcprelay.py -t 22:2222 5900 &
[01:52] marcan:
which will forward VNC
[01:52] marcan:
(if you have veency installed on the phone)Drop Héctor Martín Cantero a line saying thanks for those <finishing touches> here: [email protected][01:35] marcan:
most of the dirty RE work was done by others, re: the hash
[01:35] marcan:
I just put some of the finishing touches on
Enjoy!
Tested and confirmed working on 10.6.2 and iPhone 3.0-JB.Last edited by phonique; 12-05-2009 at 07:02 AM.
-
12-11-2009, 10:23 PM #2
Novi's iPhone Tunnel just got updated (kind-of).
Grab your alpha-copy at:
iphonetunnel-mac - Project Hosting on Google Code
Don't expect too much
Enjoy!
Update: Beta version now available.Last edited by phonique; 12-12-2009 at 10:58 AM.



LinkBack URL
About LinkBacks
Reply With Quote