SSH Over USB

From iPhone Development Wiki

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.