Frequently Asked Questions

How do I SSH into my device with a Dropbear enabled jailbreak?
Last Updated 4 months ago

OS X / Windows / LINUX

Windows

On Windows, ensure iTunes is installed, then download itunnel_mux_rev71.zip from LINK. Unzip to a directory of your choice.

Than head over to "START" - "RUN" and type "cmd" in and hit "Enter". Now the console for windows should appear.

Now "cd" in your folder where you unzipped the files and type as follows:

itunnel_mux --iport 22 --lport 2222

From now on, the relay we have set up will always be running the background once you log in. Try it out in PuTTY/iFunbox etc. by connecting to SSH at localhost, port 2222.


OSX

For preparation on OS X we just need a bit more work to get this done. First we need an PLIST-Editor like TextWrangleror PrefEdit. One of it will do.

Now after one editor is being downloaded, head over to "Launchpad" - "Utilities" and start "Terminal". Here we need to install the "libmobildevice"-package to get "iproxy".

For those who haven't "homebrew" installed:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)“
To install simply type:

brew install libimobiledevice
This should install libmobiledevice on your Mac and some additional libraries. If an error occurs, try this:

brew link --overwrite libusb
This should fix some errors. Than again use the command "brew install libimobiledevice", which finally should install the so called "iproxy" on your Mac.

To check if it is installed, type this in terminal and check if "iproxy" is there:

cd /usr/local/bin/
If it is there, we now have to create a "plist" file which will start the job permanent in the background.

Right click the link below and save it to your Desktop as: com.usbmux.iproxy.plist

https://telaaedifex.com/utils/files/files/dropbear_ssh/com.usbmux.iproxy.plist

Head now over again to terminal and type line-by-line:

cd
cd /Users/YourUserName/Desktop
chmod +x com.usbmux.iproxy.plist
Now the file got the right permissions set to work. Before we continue now. Head over to the "Finder" and choose "Go To" from the menu there and type in:

~/Library/LaunchAgents
Hit enter and you should be on the right place to copy now the plist-file into this directory.

Again head over to the terminal and type this line-by-line to start the "iproxy":

cd ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/com.usbmux.iproxy.plist
Now the "iproxy"-service is launched and will run in the background and listens to the defined port for the idevice. To SSH via USB, simply type this in terminal and you are in:

ssh root@localhost -p 2222
Instead of "localhost" you may although try "127.0.0.1". The standard password, if not changed already should be: "alpine".

LINUX (UBUNTU/DEBIAN)

First things first, make sure you have a recent version of libimobiledevice installed, as well as its utilities. On Debian and Ubuntu, the package name is libimobiledevice-utils.

In a terminal, run than the following command to start the tunneling:

iproxy 2222 22
That’s it!

Having this run all the time in the background is different depending on what daemon system your distro uses. If your distro uses Upstart, such as Ubuntu, create a file as root at /etc/init/iproxy.conf:

sudo nano /etc/init/iproxy.conf
Enter the following:

start on runlevel [2345]
stop on runlevel [!2345]
setuid nobody
setgid nogroup
exec /usr/bin/iproxy 2222 22
Use sudo start iproxy to start it without having to reboot.

Please Wait!

Please wait... it will take a second!