Home > iphone > How to change iphone default ssh password

How to change iphone default ssh password

November 15th, 2009 Leave a comment Go to comments

When an iPhone is jailbroken, and OpenSSH server is installed in order to provide remote access.

There are two accounts root -the superuser- and mobile -the standard user-.

Both accounts have a default password: alpine

In order to change the passwords you can do it via regular Linux commands:

  • Access the iPhone via ssh from your PC (you can install putty on windows to do this)
  • ssh root@your.iphone.ip
  • Note: If this is the first time you connect this PC to your iPhone you will see a warning abiout fingerprints, say yes.
  • and type the passwd command, it will prompt you for your password twice, when you type your new password nothing will be prompted:
  • passwd
  • type exit to dissconnect
  • exit
  • Repeat the steps but this time for mobile, start with:
  • ssh mobile@your.iphone.ip
SocialTwist Tell-a-Friend
Categories: iphone Tags: