+ Reply
Results 1 to 15 of 15
  1. #1
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Oh Noes, Lost Ssh Password! Plz Help!

    Oh man.. long story short, I got this virus which effed up my XP so I reinstalled (I had most of my stuff backed up on another disk). Well, it was just recently that I had installed SSH and was porting over apps.. I had the root password saved in the WinSCP program as well as the original root//dottie file. Now that I reinstalled it, both are gone. I went back to http://iphone.simbunch.com/crypt.php (the site it uses to generate the encrypted root password) and retyped my unencrypted password (a common one that i use for other stuff) and got the encrypted password. I copied and pasted that into WinSCP and it keeps saying "Access denied." when I get to the password authentication..

    So, thinking desperately of what to do, I opened iBrickr and downloaded etc/master.passwd, opened it in notepad, found the encrypted key (which was the same as the one I got above), copied and pasted it into WinSCH and it didnt work.

    Lastly, I copied and pasted the wholee text from the generator site, reup'd the master.passwd file to my iPhone, tried logging in with the "surefire" password, and it STILL wouldnt work.

    WHAT DO I DO! I am desperate for help!!

    Cliffs: Lost my SSH root login password and need help restoring/resetting.

  2. #2
    Moderator / DRP Dev Team jedinight's Avatar
    Join Date
    Jul 2007
    Location
    c.s. texas
    Posts
    969
    Thanks
    49
    Thanked 113 Times in 89 Posts

    have you tried uninstalling than reinstalling openssh it may reset back to root dottie

  3. #3
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post
    Ill try it, but I dont think thatll work cuz the password file is on the phone and not controlled by OpenSSH. Ill give it a shot though, thanks for the recommendation!!

    EDIT:
    It was a rly close, but didnt work. I uninstalled, reinstalled (caught the screen saying generating keys, that made me happy), tried reconnecting, same access denied :-(

    Any other ideas?

    EDIT #2:
    Can someone upload their original, unmodified master.passwd from the /ETC/ directory?
    Last edited by Cyrusx7; 10-06-2007 at 08:40 PM.

  4. #4
    Moderator / DRP Dev Team jedinight's Avatar
    Join Date
    Jul 2007
    Location
    c.s. texas
    Posts
    969
    Thanks
    49
    Thanked 113 Times in 89 Posts

    Exclamation here ya go

    let me know if that helps
    Last edited by jedinight; 10-30-2007 at 08:32 PM.

  5. #5
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post
    Alright im a bit confused, which file do I replace? "master.passwd" or just transfer that file you gave me "passwd" with no extension to the /etc/ folder? Inside I see both "master.passwd" and "passwd", not sure which is the right one? I tried using that file you gave me to replace both, but im not sure if iBrickr is really overwritting them?

  6. #6
    Moderator / DRP Dev Team jedinight's Avatar
    Join Date
    Jul 2007
    Location
    c.s. texas
    Posts
    969
    Thanks
    49
    Thanked 113 Times in 89 Posts

    well you wanted stock master.passwd..so i zipped it for you .so extract and put in iphone..i gave you only master.passwd.. has to be extracted

    and master.passwd is what you changed to begain with right

    and winscp your going to scp protocol not sftp
    Last edited by jedinight; 10-06-2007 at 09:12 PM. Reason: Automerged Doublepost

  7. The Following User Says Thank You to jedinight For This Useful Post:

    Cyrusx7 (10-07-2007)

  8. #7
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post
    Ok well.. I now discovered that "master.passwd" is totally different than "passwd".. After restarting my phone, I saw this crazy screen during startup:

    http://www.youtube.com/watch?v=v0HdZmqUFRs

    Damn, now I really need help.. Any ideas?
    Last edited by Cyrusx7; 10-06-2007 at 09:47 PM.

  9. #8
    Moderator / DRP Dev Team jedinight's Avatar
    Join Date
    Jul 2007
    Location
    c.s. texas
    Posts
    969
    Thanks
    49
    Thanked 113 Times in 89 Posts

    yeah ..happened before here you got to get that sucker into restore mode...hold power down and home button till you see that yellow triangle to appear..and when you do .in itunes you need to hold shift down andclick restore ..this will let you choose the restore file..if you dont have it its here at the download section..1.0.2 ..dont update to 1.1.1..i repeat dont restore to 1.1.1..you might have to play with the holding down procees till that triangle appers...25secto 30

  10. The Following User Says Thank You to jedinight For This Useful Post:

    Cyrusx7 (10-07-2007)

  11. #9
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post
    I would like to thank you for your help. I did as directed, selected the 1.02 firmware and hit ok. However, it didnt automatically restore, should I hit the restore button now, without shift, after I selected the file?

  12. #10
    Livin the iPhone Life Eurisko's Avatar
    Join Date
    Aug 2007
    Location
    Toronto, Canada
    Posts
    3,308
    Thanks
    12
    Thanked 562 Times in 483 Posts

    Install mobile terminal.app and run it on your iPhone. Then type: passwd root

    It should ask you to enter a new password without having to know the old one.

  13. The Following User Says Thank You to Eurisko For This Useful Post:

    Cyrusx7 (10-07-2007)

  14. #11
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post
    I got everything setup thanks to jjgsxr883.

    Thanks to everyone else for the input as well! This was a very bad experience and I hope noone has to go through it :-D
    Last edited by Cyrusx7; 10-07-2007 at 12:07 AM.

  15. #12
    What's Jailbreak?
    Join Date
    Feb 2008
    Posts
    10
    Thanks
    3
    Thanked 2 Times in 1 Post
    What was the solution to this?

    I've just updated to 1.1.4 but i can't install installer.app because I can't ssh into the phone without my root password...

    I've tried changing my root password via Independence.app from my mac, but it doesn't seem work.

    Would a full on "restore" through iTunes reset it?
    iPhone 4
    iOS 4.3.3
    Carrier: Fido
    OSX Snow Leopard 10.6.8

  16. #13
    What's Jailbreak?
    Join Date
    Apr 2008
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi everyone, I just change my master.passwd and my iPhone wouldn't boot up. it shows some weird lines after the apple logo appears. I'm currently using 1.1.4 firmware unlock.
    I do however keep the original master.passwd in my laptop. I just don't know how to get the original file back into my iPhone as it wouldn't even start up. Please help me.
    Thanks in advance!

  17. #14
    Livin the iPhone Life
    Join Date
    Dec 2007
    Location
    Boston, MA
    Posts
    1,033
    Thanks
    16
    Thanked 143 Times in 138 Posts

    well, you're not supposed to change your password for ssh 1.1.3 and up. i'm not sure if there's an easy solution but as far as i know, you'll most likely have to restore. do a quick search on the forum as this has been discussed numerous times

  18. #15
    Supreme Moderator StealthBravo's Avatar
    Join Date
    Jan 2008
    Location
    TX  Follow me @StealthBravo
    Posts
    32,492
    Thanks
    44
    Thanked 5,315 Times in 3,106 Posts

    restore

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts