SSH Over USB: Difference between revisions

From iPhone Development Wiki
No edit summary
Line 9: Line 9:


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).


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

Revision as of 21:04, 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

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).

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