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 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.