multcprelay icon indicating copy to clipboard operation
multcprelay copied to clipboard

tcprelay.py with support for multiple iDevices

trafficstars

These scripts allow using SSH over USB to connect to an iDevice. See https://marcan.st/blog/iphonelinux/usbmuxd/ and http://iphonedevwiki.net/index.php/SSH_Over_USB for more details.

I have modified tcprelay.py to allow forwarding SSH connections to multiple devices connected via USB, instead of just one. The device's udid can be specified using the -u option:

python tcprelay.py -t 22:5000 -u ddbc43f3247126671d2c7c279723cb2f9f93ace1

If -u isn't supplied, tcprelay.py will use the first device available.