Many users were asking how to SSH into their device on iOS 10. As the current crop of tweaks is riddled with errors, here’s how to do it the right way.
With an SSH connection, you can access the data of your device directly on the computer and transfer it. To establish a connection between computer and your device, it must be jailbroken first. If you haven’t done so already, follow our jailbreak tutorial.
If you want to establish an SSH connection to your iPhone, you need the right software. Keep your SSH clients at the ready and follow our tutorial below.
Table of Contents
How to SSH with Dropbear over USB on Yalu Jailbreak [Recommended]
Step 1 Download and install the latest version of iFunBox 4 here.
Step 2 Start iFunBox.
Step 3 Connect your iPhone/iPad/iPod to your computer.
Step 4 Select Toolbox option.
Step 5 Select USB Tunnel option. Wait for the pop up to appear.
Step 6 Minimize iFunBox and let it run in the background.
Step 7 Open an SSH client such as Putty.
Step 8 Enter the following details to connect –
- Host Name – localhost
- Port – 23
How to SSH over WiFi on Yalu Jailbreak
Step 1 Install Filza and go to this location – /private/var/containers/Bundle/Application/yalu102/yalu102.app.
Step 2 Edit dropbear.plist by hard pressing it (More> Open with > Text Editor).
Step 3 Now replace <string>127.0.0.1:22<string> with <string>22</string>.
Step 4 Reboot your device and rejailbreak with yalu102. If you don’t know how to rejailbreak, follow this tutorial.
Step 5 Open an SSH client such as Putty or WinSCP.
Step 6 Connect to the WiFi IP address of your device on port 22. Make sure that your client is on the same network.
That is all there’s to it.
There’s a massive security issue that plagues most of the jailbreak users – the default password. Remember, change your default password asap. If you don’t do so, any hacker can connect to your iOS device via WiFi.
If you liked this tutorial, don’t forget to follow us on Facebook and Twitter.
USB Tunnel doesn’t come what you said, just “New USB Tunnel at Port:______Detect and Create”
Just install any SSH app from the App Store and use the details mentioned above. It will let you SSH on-device.
Hey, I just did this and now I’m able to connect from SSH via Wifi, but now I want to configure keys in order to conect without prompt the password, is this possible? since the SSH-Keygen command is not available in the iphone (before when I had OpenSSH it was available)
Hello, Jose. That’s not possible since you are using Yalu’s in-built dropbear client.
How can I ssh from the terminal to other servers afterwards? SSH on the shell is not available, therefore I cannot scp into/from the device.
That’s weird. Why is it not working for you? Please expand.