REMINDER: Change Your Jailbroken iPhone 4S, iPad 2 SSH Password Now!

With the iPhone 4S and iPad 2 being Jailbroken on the iOS 5.0 (iPhone 4S only) and the iOS 5.0.1 firmware, thanks to the Dream Team. It is no questions that the Jailbreaking Community has grown in numbers. Due to the increase in Jailbroken iOS devices and due to the fact that there are a lot of people new to the Jailbreaking scene. iJailbreak.com thought it would be a good idea to remind its readers to change their SSH (root) password to their iPhone 4S or iPad 2. Now a question I am sure you are wondering is “why would you want to change your SSH password, and what is an SSH password?”

Change SHSH Password iPhone 4S, iPad 2

Well, when you Jailbreak your iPhone 4S/iPad, or any iOS device for that matter, you are gaining root access over the entire iOS filesystem. By default your iOS device protects itself from being tampered with by a root user using password protection. The problem is, everyone has the same root password – “alpine”. Which means hackers, are free to gain full root access to your iOS device if they please (this actually happened awhile back). As this is very big threat to your security, we are going to show you how to change your iPhone 4S’, iPad 2’s root password on the iOS 5.0 or iOS 5.0.1 firmware.

Note: This method will work on any firmware version and any iOS device as long as you have MobileTerminal installed!

Change SSH Password iPhone 4S, iPad 2

Step 1) – The first thing you are going to need to do is install MobileTerminal to your iPhone 4S or iPad 2. As the current version of MobileTerminal in Cydia is not compatible with the iOS 5 firmware generation, you are going to need our external repository. In order to add our external repository you will need to launch Cydia and add the following source, by going into Manage > Sources > Edit > Add.

Once you have added our repo to your iPhone 4S or iPad 2, you will need to simply Search for MobileTerminal, via the search pane and install it to your iOS device.

Step 2) – When you have installed MobileTerminal to your iDevice, you can begin changing your root password. The first thing you are going to need to do is launch MobileTerminal from the SpringBoard. Once MobileTerminal is up and running you will need to enter the following commands into MobileTerminal.

1st command: su root

(press return)

2nd command: alpine

(press return)

3rd command: passwd

(press return)

Now you are going to need to type a password that you will remember (you won’t see any characters displayed when you type). Once you are done press return. You will then need to re-type the password and press return once again.

4th command: exit

(press return)

Step 3) – Now that you have changed your root password to your iPhone 4S and iPad 2. One more thing you may want to do is change your mobile password, which is also by default, alpine. You can do this by following the steps below. Once again, ensure you enter the following commands exactly as shown (case sensitive).

1st command: passwd

(press return)

2nd command: alpine

(press return)

Now you are going to need to type in another password that you will remember, probably the same one you used before. (you won’t see any characters displayed when you type). Once you are done press return. You will then need to then re-type the password again and press the return button.

3rd command: exit

(press return)

Congratulations! You have now just changed two passwords that prevent hackers from gaining unauthorized access to your iPhone 4S or iPad 2. If you have any questions or concerns please leave them in the comments section below…

Don't forget to like iJailbreak on Facebook, follow on Twitter and add to your circle on Google+ to stay up-to-date on all the latest Jailbreak and Apple news!

Comments

  1. Do I have to do this even if I don’t ssh or use ssh or whatever the term is? 

  2. Anonymous says:

    If I restore, do the passwords go back to normal????

  3. Thanks for the tip! But What is the ssh password for?

  4. Edit:
    Like will I be using it in the future?

  5. VanillaXpC says:

    Isn’t the SSH thing installed separately inside of Cydia? I cannot change anything related to my SSH, because I never installed SSH tools…sooo yeah, what isn’t he point of this warning when most people who are just jailbreaking aren’t even going to be installing SSH by default?

  6. yes

  7. just to be safe

  8. but like VanillaXpC said I don’t have any ssh tools. how do i do it?

  9. Is the password change also apply to iPhone 4 with IOS 5.0.1 ?

  10. Can I delete it after changing passwd?

  11. Anonymous says:

    2nd set of commands has a mistake. it’s “passwd mobile”…typeing just “passwd” will just change the root password again.

  12. Anonymous says:

    After changing your passwords you should force quit all open apps and restart your device.

    Cydia and all non-appstore apps would immediately crash when launched after changing the root password. Restarting the phone did not fix it. Force quiting everything open and then restarting the device fixed the issue.

  13. Not true – passwd also changes mobile – just checked.

  14. Anonymous says:

    what is ssh… lol  so should I do this procedure?

  15. sorry the mobile terminal just crashes on iphone 4 with 1os5.1

  16. do you need to keep mobile terminal after you finish changing your two passwords or can you delete it from cydia?

  17. Jess_rustich says:

    I tried to change my ssh root password from my laptop using “winSCP” and also “putty” but it’s always access denied using the “alpine” password. i tried your procedure here by installing mobile terminal and changed my root password and mobile password however, still i cannot access from my laptop using my new password.
    is it safe now? did password really changed?
    thanks

  18. Arunaabhshah says:

    You are the BEST!!!!

    You saved my life man….. God Bless

  19. Don’t forget the PDF 2 patcher!

  20. I used “exit” to get out of root and back to mobile, then used “passwd” just as the guide said.

  21. Anonymous says:

    that’s an excess step. if you type “passwd mobile” while still logged in as root you can change it. then just “exit” twice :)

  22. Csmatrix007 says:

    Holy shit this was helpful!!!!! I have been feeling like an idiot with all the 2-3 year old videos out there with tutorials trying to explain this… This was BY FAR a more simple way of doing this. Thanks 

  23. do i have to keep mobile terminal or can i delete it ?????????

  24. Besequeira says:

    When I type “alpine”, it doesn´t show on screen, than I type “password” in the next step, than “return”, and it says “command not found” ?!? After that I type my password, but it appears on screen (wasn´t supposed), and I guess it doesn´t change anything. Anyone, please…?

  25. LOLzers!

  26. LOLzers

  27. Bklady388 says:

    Completely drama free for this newbie! Thank you so much!

  28. root :P says:

    NO one can log into your iPhone using alpine as a root password unless u got the protocol installed ,which is “SSH” even if he knows your ip address and all ,and to prove me wrong try logging with that user and password without installing ssh into you’r iPhone.
    but if you want to be safe ,don’t JB it in the 1st place.stop scaring ppl please.

  29. Same thing to me! Can’t access from my computer. 

  30. Duybee86 says:

    Very helpful. Thank you.

  31. I’m not able to add in the source . HOWW?

  32. happy unicorn says:

    guys what im gonna tell you is weird but please believe me…… im a unicorn. and i love peanut butter

  33. thanks alot , it works good with me :D

  34. whats the command line for that?

  35. Can one simply uninstall OpenSSH package from Cydia to have no headache?

Speak Your Mind

*