m (updating language option) |
(Theos usage) |
||
Line 24: | Line 24: | ||
* Download the zip file from [https://code.google.com/p/iphonetunnel-usbmuxconnectbyport/downloads/detail?name=itnl_rev8.zip OS X] or [https://code.google.com/p/iphonetunnel-usbmuxconnectbyport/downloads/detail?name=itunnel_mux_rev71.zip Windows (32 bits)]. | * Download the zip file from [https://code.google.com/p/iphonetunnel-usbmuxconnectbyport/downloads/detail?name=itnl_rev8.zip OS X] or [https://code.google.com/p/iphonetunnel-usbmuxconnectbyport/downloads/detail?name=itunnel_mux_rev71.zip Windows (32 bits)]. | ||
* Unzip to a directory of choice. | * Unzip to a directory of choice. | ||
* Run <code>path/to/itunnel_mux.exe --lport 22 --iport | * Run <code>path/to/itunnel_mux.exe --lport 22 --iport 2222</code> | ||
Connect to localhost as you would over wifi. | Connect to localhost as you would over wifi. | ||
Line 35: | Line 35: | ||
* Click on "Quick Toolbox," then "USB Tunnel." | * Click on "Quick Toolbox," then "USB Tunnel." | ||
* Assign ports as you see fit. | * Assign ports as you see fit. | ||
== Theos usage == | |||
Add the following lines to the beginning of your makefile in order to deploy builds to the connected device: | |||
<code>THEOS_DEVICE_IP = 127.0.0.1 | |||
THEOS_DEVICE_PORT = 2222 | |||
</code> |
Revision as of 09:55, 30 May 2014
Languages: English • français • ไทย
SSH over USB using usbmuxd
With Python
Tested on OS X and Windows.
You will need to have Python installed on your system.
- 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 mobile@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.
Without Python
- Download the zip file from OS X or Windows (32 bits).
- Unzip to a directory of choice.
- Run
path/to/itunnel_mux.exe --lport 22 --iport 2222
Connect to localhost as you would over wifi.
SSH over USB using the iFunBox GUI (Windows only)
This feature only exists in the Windows build of iFunBox.
- Get the latest Windows build of iFunBox and install it.
- Click on "Quick Toolbox," then "USB Tunnel."
- Assign ports as you see fit.
Theos usage
Add the following lines to the beginning of your makefile in order to deploy builds to the connected device:
THEOS_DEVICE_IP = 127.0.0.1
THEOS_DEVICE_PORT = 2222