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 follow iJailbreak.com on Facebook, Twitter and Google+.
  • Ross

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

  • Anonymous

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

  • Mizz Ng

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

  • Mizz Ng

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

  • VanillaXpC

    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?

  • F96lrs

    yes

  • F96lrs

    just to be safe

  • Ross

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

  • nick81415

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

  • Pingback: Absinthe v0.2 - Untethered Jailbreak iOS 5.0/5.0.1 [iPhone4S, iPad2]

  • http://www.facebook.com/nowakmicha Michał Nowak

    Can I delete it after changing passwd?

  • Anonymous

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

  • Anonymous

    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.

  • http://www.facebook.com/nowakmicha Michał Nowak

    Not true – passwd also changes mobile – just checked.

  • Anonymous

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

  • Pingback: How To: Install MobileTerminal On Jailbroken iPhone 4S And iPad 2 — jailbreakjunkie.com

  • mindset

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

  • Pingback: How To: Install MobileTerminal On Jailbroken iPhone 4S And iPad 2 | iPhone 5 How To - Jailbreak iphone 4s | Unlock

  • Volsfake

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

  • Jess_rustich

    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

  • Arunaabhshah

    You are the BEST!!!!

    You saved my life man….. God Bless

  • Art004

    Don’t forget the PDF 2 patcher!

  • Rycr

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

  • Anonymous

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

  • Pingback: How To Change SSH Root Password Of Your iPhone 4S/ iPad 2 After Jailbreak (TUTORIAL) | OS Bulletin

  • Csmatrix007

    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 

  • Eric

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

  • Besequeira

    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…?

  • NOOBFAIL

    LOLzers!

  • Besequeira

    LOLzers

  • Bklady388

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

  • root :P

    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.

  • http://twitter.com/dvribeiro Daniel Ribeiro

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

  • Duybee86

    Very helpful. Thank you.

  • Dianne

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

  • happy unicorn

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

  • Pingback: iOS 5 cydia tweaks and apps « xenoquatz

  • fear

    thanks alot , it works good with me :D

  • Pingback: Geek De France.fr » Sécurité : votre tablette est-elle en danger?

  • http://www.facebook.com/wilson.bradley Wilson برادلي ويلسون Bradley

    whats the command line for that?

  • Dima

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