Home > Tips & How To > How to Change Default Root Password using Putty

How to Change Default Root Password using Putty

by Alvin on November 17, 2009

If you’ve installed OpenSSH on your iPhone, I recommend you to change the root password immediately to secure your iPhone from Ikee worm attacks. On my previous post, there is a link to one of the Simon Blog post that show how you can change the root password using Mobile Terminal. And this post, I will show you another method of changing the root password using putty.

1. Connect your iPhone to your home Wi-Fi and jot down the IP address assigned by the router.

ipaddress

Make sure Auto-Lock is set to “Never” to avoid the connection lost.

2. Connect your laptop to your home Wi-Fi also if it’s not already.

3. Download and launch “putty.exe” on your laptop.

4. Type the IP address into Host Name (or IP address) text field and click “Open”.

putty

5. Type “root” for login as then hit “Enter” and type “alpine” for the password (default password) then hit “Enter”.

putty2

6. Type “passwd” then hit “Enter” and type your new password 2 times.

putty3

7. Type “exit” to close the connection and quit putty session.

putty4

After you’ve successfully changed the password, whenever you wish to SSH into your iPhone using WinSCP, make sure you enter the new password.

{ 8 comments… read them below or add one }

Sk November 24, 2009 at 9:33 am

Seriously, I have been looking all over for some simple directions. Thank you! It worked simply, I just had to install open ssh through cydia.

MD December 16, 2010 at 6:33 am

Thanks!

Nadine June 3, 2011 at 8:07 am

Thanks =)

Guess November 30, 2011 at 6:45 am

Thanks, it’s effectively simple!

D January 21, 2012 at 8:32 am

Thank you!

Tim July 14, 2012 at 2:27 am

Don’t forget to also change the mobile password by typing the command “passwd mobile” and following the new password prompt.

AS October 21, 2012 at 6:06 pm

Thanks :)

sirgo February 16, 2013 at 3:30 pm

Nice post ^_^ i like it.
Thanks ^_^

Leave a Comment