How to Change the Root SSH Password on Your iPhone

Posted November 2, 2009 at 10:15pm by iClarified | Please help us and submit a translation by clicking here | 104518 views
Spanish  Korean  French  

These are instructions on how to change the root SSH password on your jailbroken iPhone or iPod touch. This password is required when using SSH to connect to your device.

Step One
If you do not already have MobileTerminal installed please follow these instructions to install it.

Step Two
Press to launch MobileTerminal from your iPhone Springboard.


Step Three
Input su into the terminal window then press the return key.


Step Four
You will be asked to input the current root user password. Input alpine then press the return key.


Step Five
Once you have logged in as the root user input passwd into the terminal window then press the return key.


You will be prompted for new password. Input a password of your choice then press the return key.


You will be asked to retype the new password. Do this, then press the return key to finalize your change.

Share
Add Comment
corrupted.dll - September 18, 2010 at 10:53am
When I click on the Terminal icon, Terminal opens for about a second and shots down again. I tried reinstalling and it keeps behaving exactly as I described above. Any ideas?
vaggoz - December 23, 2010 at 3:33pm
You probably have iPhone 4 and iOS4... I also had this problem. Here is the solution: remove it, then install the beta package from xSellize (X Apps) under the name of \"MobileTerminal iOS4\" (search it on Cydia).
Jennah - September 21, 2012 at 10:11am
That's a smart answer to a tirkcy question
Rival - September 23, 2012 at 3:51am
This is the ideal awsner. Everyone should read this
mazhar - September 15, 2014 at 8:31am
Thanks for the trick, its a must try technique. More on smart cities here
dunkhills - December 16, 2009 at 4:52am
gosh.. ever since i changed both passwords. Im not able to log into my hotmail or yahoo mail or anything that requires login and password using iphone safari. Help!!!!!
DistortedLoop - December 16, 2009 at 9:38am
Something else is wrong. Changing your root/mobile passwords should not effect web service logins.
dunk - January 5, 2010 at 7:47am
yep. found out later.. solved at safari settings. ahah.. thanks
Ben - November 29, 2009 at 6:43pm
If I forgot my password, is the only way to reset it to restore my phone? I already tried reinstalling Open SSH. I THOUGHT that I knew my password but it\'s not letting me in, so I just need to reset the password to alpine. Any way of doing this without having to restore?
Resty - September 20, 2012 at 8:26pm
Do these if you are stick at purple sceern If you are stuck at the purple sceern, do these steps!!! (Only on 3GS or 4) 1) put your iphone to Airplane mode. 2) Go to -> Setting -> safari -> Cookies -> Accept. 3) Double tap home button. 4) Press and hold to quit safari (in multitask mode) 5) Clear all Cache n cookies. 6) Open safari and go to jailbreakme.modmyi.com 7) If cannot, Repeat!
coc_21 - November 27, 2009 at 4:53pm
after you change the ssh password, how do u install apps from cydia?
DistortedLoop - November 28, 2009 at 10:29am
Changing your ssh password has no impact on how you install apps from Cydia, or any other source.
Michael - November 24, 2009 at 6:43am
Thanks, with all the news of worms this tutorial helps ease my fears.
Rio - September 21, 2012 at 5:15pm
I really couldn't ask for more from this aritlce.
Alonzo - September 23, 2012 at 5:18am
That's what we've all been waiting for! Great ptosing!
12 More Comments
Follow iClarified