How to use OpenSSH on your iOS device

When you browse the Internet for cool things to do with your jailbroken iOS device, you may have comeб═acrossб═something called “OpenSSH” or, as it’s also known as “SSH’ing into your device.” Many people don’t know what it is, but SSH’ing into your device isб═extremelyб═useful. It allows you to view your entire device’s filesystem, from application files to system files.

Here’s how to install OpenSSH and then use it.

NOTE: Your device must be jailbroken and have Cydia or Rock Your iPhone installed for this to work. You also must make sure your computer and iOS device are connected to the same Wi-Fi network.

Step 1: On your iOS device, launch Cydia or Rock Your iPhone (depending on which one you have installed). Search for OpenSSH.

Step 2: Once you find the OpenSSH package, install it. If Cydia/Rock Your iPhone does not prompt you to reboot your device, do so manually by holding down the power button (top) and slide the “slide to power off” button.

Step 3: Once your device reboots, go to Settings>Wi-Fi and click the blue arrow to the right of your Wi-Fi network. Make note of the IP Address (this is very important later on).

Step 4: On your computer, launch your favorite FTPб═application. On Mac, it is good to useб═CyberDuck and on Windows, a good one isб═FileZilla.

Step 5: Once you launch your FTP application, create a new connection with the following criteria:

  • SFTP as the file transfer type
  • The server should be the IP Address from your device that you found earlier
  • The port number should remain the default
  • The username isб═root
  • The password isб═alpine

Step 8: Click the connect button on your FTP application and that should be it. You should now have access to your entire iOS device filesystem.

IMPORTANT NOTE: It is critical that you change your default password for SSH (default is alpine) as hackers may be able to gain access to your device is you don’t change the password. Here’s how the change the password:

Step 1: Launch Cydia or Rock Your iPhone and search for MobileTerminal.

Step 2: Once you find MobileTerminal, install the package.

Step 3: Return to your home screen and launch MobileTerminal.

Step 4: Once you are in MobileTerminal, type “su root (without the quotes) and tap return on the keyboard. It will ask you for a password – type “alpine” (without the quotes) and tap return on the keyboard.

Step 5: Then, type “passwd” (without the quotes) and tap return once again. Enter your new password that you would like to use for SSH’ing into your device and tap return. Retype the password to confirm it and tap return on the keyboard one final time.

That should be it. Now you have changed your SSH password, so instead of using alpine, use the password you chose.

4 comments
Technolust
Technolust

I tried this and it just said waiting for welcome message and then fails.

Technolust
Technolust

I tried this and it just said waiting for welcome message and then fails..

Technolust
Technolust

I tried this and it just said waiting for welcome message and then fails...

Technolust
Technolust

When ever I do this it just says waiting for welcome message and then fails... Help?

Trackbacks

  1. [...] Your device must be jailbroken and you must have Backgrounder installed for this to work.Step 1: Follow this tutorial to get access to your iOS device's filesystem.Step 2: Navigate to [...]

  2. [...] how to change it.NOTES: Your device must be jailbroken for this to work. You must be able to SSH into your device to modify these images. It's All Tech is not responsible for any data loss or damage that may [...]

  3. [...] steps on the display.Step 4: After the device is jailbroken and restarted, follow our previous tutorial on how to install and use OpenSSH on your iOS device. Once you have everything set up, launch your [...]

  4. [...] is checked off in WinterBoard.Step 2: Next, SSH into your iOS device by following our previous tutorial on how to do so.Step 3: Launch your FTP browser and navigate to the following location: [...]

  5. [...] 1: Follow our tutorial on how to use OpenSSH on your iOS device and connect to your [...]