Just getting into Jailbreak and OpenSSH on iPhone, iPod touch, or iPad and curious how to change the default SSH password? Since Apple sets all iOS devices to "alpine", If you decide to enable SSH it is important for security reasons to change the password to something unique. Otherwise you risk someone else gaining access to your iPhone or iPad. We'll show you how after the break!

Here's what you need to do to change the default SSH password. Note, this method is only for jailbroken iOS devices with OpenSSH installed and MobileTerminal installed.

  • Download MobileTerminal from Cydia. (Make sure its version 426 if using iOS 4.x..)
  • Open MobileTerminal
  • In MobileTerminal, type in: su root
  • It’ll ask you for a password, type in: alpine
  • To make the screen a bit cleaner, type in: cd
  • Now, to change your password, type in: passwd
  • Enter the password you desire (You will not see the characters in the screen as you type them for security reasons)
  • Enter the password you entered once more
  • To change the password for the Mobile user, type in: passwd mobile
  • Enter the password you desire (You will not see the characters in the screen as you type them for security reasons)
  • Enter the password you entered once more

All done! You are now secure and may close MobileTerminal. If you have any questions ask in the comments or for additional help, check out our Jailbreak Help Forum.

Tips of the day will range from beginner-level 101 to advanced-level ninjary. If you already know this tip, keep the link handy as a quick way to help a friend. If you have a tip of your own you’d like to suggest, add them to the comments or send them in to dailytips@tipb.com. (If it’s especially awesome and previously unknown to us, we’ll even give ya a reward…)