Make use of mobiledevice
here : https://github.com/imkira/mobiledevice
use the tunnel
option
سؤال
Edit: I would like to ssh onto a device, say iPhone/android (with root access) over USB. I can make use of tcprelay.py to forward ssh port on the device to the USB and then ssh to the device over USB.
tcprelay is a very useful tool but the problem is that it comes with a GNU GPL License and I would like to go for a non GPL solution to achieve the same. Would be great if anyone could suggest such an alternative.
المحلول
Make use of mobiledevice
here : https://github.com/imkira/mobiledevice
use the tunnel
option