In this topic, I will be simply explaining how to SSH into your iPhone/iPad/iPod via USB Connection (without Wi-Fi).
Why is this useful? Well, USB connections are faster and more reliable.
You only need iFunBox and PuTTY. iFunBox is used to open up the port and PuTTY to actually SSH into your iDevice. If you're on a Mac, you can simply use the Terminal there as I believe this tutorial also works on a Mac (untested this but if it doesn't work, you can try USBMuxd).
-
Download iFunBox from here and install it: http://i-funbox.com/en_download.html
Download PuTTY portable .exe from here: https://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
-
1. Connect your device to your PC via USB Cable.
2. Open iFunBox, make sure your device appears as connected and click on the 'Quick Toolbox' tab, then click on 'USB Tunnel' option.
3. Minimize iFunBox and open PuTTY.
Enter 127.0.0.1 for Host Name and leave the port to 22 then click 'Open'.
4. When asked for a username, enter root (or any other user you want to login as). And for password, enter your root's password. Usually alpine if you haven't changed it.
5. Done!
To verify that it's not using Wi-Fi, turn off the Wi-Fi on your iDevice.