Difference between revisions of "SSH Over USB"

From iPhone Development Wiki
Jump to: navigation, search
(SSH over USB using usbmuxd)
(SSH over USB using usbmuxd)
Line 10: Line 10:
 
Now you can log into your device via ssh root@localhost -p 2222
 
Now you can log into your device via ssh root@localhost -p 2222
  
If you need more than one connection, you can run tcprelay multiple times (e.g. ./tcprelay.py -t 22:2223 for a second ssh channel).
+
The -t switch tells tcprelay to run threaded and allow more than one ssh over the same port.
  
 
See ./tcprelay.py --help for further options.
 
See ./tcprelay.py --help for further options.

Revision as of 21:11, 29 March 2010

SSH over USB using usbmuxd

Tested on OS X. Works on Windows too, according to the README

  • Get usbmuxd source package and unpack
  • Go into folder python-client
  • chmod +x tcprelay.py
  • Run ./tcprelay.py -t 22:2222

Now you can log into your device via ssh root@localhost -p 2222

The -t switch tells tcprelay to run threaded and allow more than one ssh over the same port.

See ./tcprelay.py --help for further options.