Installing OpenSSH, using Fugu, and changing the root & mobile passwords

intel Mac & PPC

Page 1 of 2

Updated: October 29, 2008

If you are only interested in using Cydia or the App Store to add applications to your phone, then you do not need to perform anything in this tutorial. This is only if you want to use SSH to transfer files, change your root password, and do more in-depth reprogramming.

Cydia is installed by default using PwnageTool and QuickPwn. One of the most important programs in Cydia is called OpenSSH. If you are really interested in hacking the iPhone, you are going to need some critical applications installed. In this tutorial we will use Cydia to install OpenSSH, and SBSettings. You will also install Fugu on your Mac. This program is an SSH client that will be used to talk to the iPhone, much like an FTP program talks to a remote server. You will then use the Terminal on your Mac, to SSH into the iPhone and change the root and mobile passwords, which are set to "alpine" by default.

Step 1.

Press Settings, General, Auto-Lock and set it to Never. You should always do this when working with OpenSSH. If the iPhone should sleep, you will lose your connection and possibly data. If this happens during a critical process you could damage the iPhone, or have data corruption issues.


Step 2.

Launch Cydia. It will open at the Home menu. Press the Sections button, and the All Packages button.

iPhone       iPhone

Scroll down to OpenSSH and press it. Install the program.

iPhone       iPhone

Go back to the All Packages folder, and select SBSettings. Install the program.

iPhone       iPhone

Back at your SpringBoard, you'll see that neither OpenSSH or SBSettings installs a program icon. You don't need an icon for OpenSSH, as you can toggle whether it is on or off with SBSettings. To launch SBSettings just slide your finger from left to right over your status bar.


This is the control panel for SBSettings. When an icon is in red (like Bluetooth and EDGE), it means it is currently turned off. Just press the icon to toggle it between on and off. You must have your SSH and Wi-Fi turned on. Note your Wi-Fi IP Address. Mine is


Click here to go to page 2.

Return to top of page