I use this so I don’t need to check what is my iPhone IP address every time or disable VPN to connect properly with SSH over network. For Mac it’s relatively easy follow this link:
http://iphonedevwiki.net/index.php/SSH_Over_USB
For Windows I tried this morning had some issues but finally resolved it and here’s how I do it.
Prerequisites:
- Git – https://git-for-windows.github.io/
Python 3 – https://www.python.org/downloads/
Steps:
- Install
itunnel_mux_rev71.zip
from Google Code - Extract it to a folder, for example I extracted to
C:\usb\
and run
c:\usb\itunnel_mux.exe --iport 22 --lport 2222
if it’s succesfull you will see this message with UDID (I redacted my UDID)
If you face below error:[ERROR] Error 0x2 (2): 'No such file or directory' [FATAL] Could not locate 'Apple Mobile Device Support' folder path in registry: ABORTING
then you need to install iTunesDriver64_0205.exe
- Do not close window on Step 2, Open MinGW/Git bash and type:
ssh root@localhost -p 2222
if it’s successful you will be prompt for password the first time it will confirm to save RSA.
That’s it! Congratulations, You have just successfully tunnel your iDevice from USB and now you can SSH securely.
Latest posts by David B (see all)
- Fix Error 403 WordPress unable to publish or edit a post - December 23, 2020
- Workflow Automation with n8n | BTC Price Alert - December 22, 2020
- Workflow Automation with n8n | Installation - December 22, 2020