1. shutter's Avatar
    With the new worms that are coming out that are taking advantage of ssh and the default password, alot of people are trying to figure out how to protect themselves and their jailbroken iPhone. There are three ways I know to protect yourself.

    1) Do not install openSSH
    2) Turn off SSH when you are not using it
    3) Change your default password for "root" and "mobile"

    This guide will focus on the third option.

    The first thing you need to do is download a jailbreak app called MobileTerminal onto your iPhone.

    1) Open Cydia and tap "Featured Packages"


    2) Scroll down and tap "MobileTerminal"


    3) Tap "install" in the upper right hand corner, on the next screen tap "confirm" in the upper right hand corner and let cydia install the app, when done, tap "return to cydia" and then close cydia.



    4) Scroll to the MobileTerminal Icon on your springboard and tap it.
    5) When MobileTerminal opens it will default to your "mobile" folder.


    6) Type "passwd" (without the quotes). You will be prompted to enter your old password. if you have never changed your password, the default password is "alpine" (without the quotes). Once the old password is entered, you will be prompted to enter the new password, and then prompted to enter it again. There will be no response on the screen as you type, for security reasons, so make sure you know what you are typing.

    Last edited by shutter; 11-24-2009 at 02:03 PM.
    jamesandyori likes this.
    11-24-2009 01:59 PM
  2. shutter's Avatar
    7) Now that your password for "mobile" is changed, you also want to change the password for your "root" folder as well. Type "su root" (without the quotes), you will be prompted to enter your password (this is still the old/default password "alpine"), enter it.


    8) Type "passwd" (without the quotes), since you have already verified your root password...you will be prompted to enter a new password and again prompted to verify the new password. As you type the new password, there will be no response on the screen as you type, for security reasons, so make sure you know what you are typing.



    That's it, now you are done, you have successfully changed your root and mobile passwords and if you forget to shut off openSSH....you are not an easy target for hackers.
    Last edited by shutter; 11-24-2009 at 02:04 PM.
    11-24-2009 01:59 PM
  3. Brickman's Avatar
    Thanks Shutter!! This helped!
    11-24-2009 02:25 PM
  4. fmtek's Avatar
    thanks, .. i changed the ROOT password last week, even though i never installed SSH ... but figured why not..

    but i never knew about the MOBILE id.. i just changed that one..

    THANKS!
    11-24-2009 05:02 PM
  5. BLiNK's Avatar
    this thread should eliminate all kinds of silly/meaningless threads. thanks!
    11-24-2009 05:11 PM
  6. jglowe74's Avatar
    thanks, .. i changed the ROOT password last week, even though i never installed SSH ... but figured why not..

    but i never knew about the MOBILE id.. i just changed that one..

    THANKS!
    i too forgot about my mobile password. thanks shutter for this post! and thanks go to ctt1wbw for posting this in another thread to help remind me too!
    11-24-2009 05:27 PM
  7. sargd66's Avatar
    Great step by step directions for new ssh users.
    12-04-2009 10:37 AM
  8. steve123411's Avatar
    Awesome!!! Thanks dude, made a few mistakes at first so my list is a bit longer. Is there a way to clean that list up or does it not matter? I'm a total noob to all this at the moment. But thought I'd change this passwords while it was on my mind since I want to learn SSH.

    SSH is just the ability to do more customization to themes correct?
    12-04-2009 08:34 PM
  9. AlecH's Avatar
    Excellent post, thanks!
    12-05-2009 04:42 PM
  10. Hockey_Player37's Avatar
    Very much appreciated this post, it encouraged me to mod my sms/email tones. Now I've very happy with my phone!
    12-05-2009 05:52 PM
  11. ctt1wbw's Avatar
    Is mobile terminal compatible with os 4 yet?
    08-04-2010 07:31 AM
  12. TampaDude's Avatar
    Is mobile terminal compatible with os 4 yet?
    Get Version 426, which is compatible with iOS4.

    Go into Cydia, select Manage, then Sources, then add this source:
    cydia.xsellize.com

    Then search that repo for:
    MobileTerminal iOS4

    I have it on my iPhone 4 running 4.0.1 and it works perfectly.
    jamesandyori likes this.
    08-04-2010 08:39 AM
  13. billyeha66's Avatar
    Problem...I'm currently using WinSCP to SSH into my phone with the default passwords. I changed my passwords, without a problem, using the above instructions but now when I open WinSCP to get into my phone, it says the password is incorrect. Anyone else use this program that can help?
    10-17-2010 07:28 PM
  14. farbod21's Avatar
    Make sure you put "root" as the username in winscp
    10-18-2010 02:04 AM
  15. willthetech's Avatar
    The mobile terminal on Cydia didn't work for me, i had to find a deb file for mobile terminal 426 and then i was able to do this.
    10-18-2010 06:39 AM
  16. billyeha66's Avatar
    Make sure you put "root" as the username in winscp
    So I still use "root" as the username even after the passwords have been changed? Where is the second password used?
    10-18-2010 09:16 AM
  17. billyeha66's Avatar
    Never mind...figured it out. Thanks for the help!
    10-18-2010 09:43 AM
  18. jiggaman2g's Avatar
    I'm assuming that I have a worm already, when I try to SSH into my phone using Winscp I'm getting the " server unexpectedly timed out error" Will me changing this make things better or do my issues require more in-depth work?
    10-24-2010 08:16 AM
  19. tourstagefan's Avatar
    I downloaded Mobile Terminal for my ViP4.

    Problem is, when I tap on the icon, it will not stay open. It opens briefly, then closes.

    Has anyone else experienced this? I was thinking of removing the app and re-downloading it.
    03-01-2011 12:44 AM
  20. alpinestars1z's Avatar
    I downloaded Mobile Terminal for my ViP4.

    Problem is, when I tap on the icon, it will not stay open. It opens briefly, then closes.

    Has anyone else experienced this? I was thinking of removing the app and re-downloading it.
    You probably downloaded an older version.

    See my post here.

    http://forum.tipb.com/jailbreak-unlo...ml#post1680879
    tourstagefan likes this.
    03-01-2011 01:13 AM
  21. BLiNK's Avatar
    I downloaded Mobile Terminal for my ViP4.

    Problem is, when I tap on the icon, it will not stay open. It opens briefly, then closes.

    Has anyone else experienced this? I was thinking of removing the app and re-downloading it.
    try this. worked for me iPhone 4 iOS 4.2.1

    One thing you need is Mobile Terminal 4.26 for iOS4+, do you have that version, if not get it here,

    Learn How To Install MobileTerminal V4.2.6 The Easy Way! [iOS4 Compatible Version] | iJailbreak - Apple iPhone, iPod Touch, iPad and Apple TV Jailbreak, Unlock, Cydia News

    Use Cydia, Rock was bought by Cydia and Rock no longer works. Use Mobile Terminal to change password, follow instructions on Cydia.
    03-01-2011 01:16 AM
  22. tourstagefan's Avatar
    You probably downloaded an older version.

    See my post here.

    http://forum.tipb.com/jailbreak-unlo...ml#post1680879
    Thank you so much! I am still a newbie to JB'ing (had never added anything to the repo until just now), but your clear, concise instructions made it super simple!

    I feel more secure knowing that my mobile and root passwords have been changed!

    Glad to be a member of such a strong, helpful community!
    03-01-2011 01:29 AM
  23. alpinestars1z's Avatar
    Thank you so much! I am still a newbie to JB'ing (had never added anything to the repo until just now), but your clear, concise instructions made it super simple!

    I feel more secure knowing that my mobile and root passwords have been changed!

    Glad to be a member of such a strong, helpful community!
    Haha no problem. But clear and concise? Well, it was only a couple of easy steps! :P
    03-01-2011 01:34 AM
  24. tourstagefan's Avatar
    Haha no problem. But clear and concise? Well, it was only a couple of easy steps! :P
    But it was especially helpful that you posted screenshots, made it easier to confirm that I was doing it correctly.
    03-01-2011 01:53 AM
  25. alpinestars1z's Avatar
    But it was especially helpful that you posted screenshots, made it easier to confirm that I was doing it correctly.
    Screenshots? LOL, then it was the other link you followed. You should thank Blink then. :P
    03-01-2011 01:58 AM
28 12
LINK TO POST COPIED TO CLIPBOARD