How To: Change Your iPhone’s SSH Password

November 3, 2009

As many have been prompted by the recent icident, including Dutch iPhones on T-Mobile, the SSH on the iPhone has a default password which most people do not change, leaving themselfs unprotected. Here’s the quick guide to change your root password on your iPhone.

MobileTerminal

Please note that some guides will change the mobile password, however this will still leave you unprotected so ensure you follow these instructions carefully.

  • Download ‘MobileTerminal’ from Cydia.
  • Run MobileTerminal
  • Type ‘passwd’
  • Enter your new password
  • Enter it again
  • Type ‘su root’
  • Then Type: ‘alpine’ (iPhone 3G, iPhone 3GS) ‘dottie’ (iPhone 2G)
  • Press Return
  • Type ‘passwd’
  • Enter your new password
  • Enter it again
  • Now your iPhone is secure from SSH hacking