-
10-06-2007, 07:40 PM #1
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.
-
10-06-2007, 08:01 PM #2Moderator / DRP Dev Team
- 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
-
10-06-2007, 08:18 PM #3
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.
-
10-06-2007, 08:47 PM #4Moderator / DRP Dev Team
- Join Date
- Jul 2007
- Location
- c.s. texas
- Posts
- 969
- Thanks
- 49
- Thanked 113 Times in 89 Posts
here ya go
let me know if that helps
Last edited by jedinight; 10-30-2007 at 08:32 PM.
-
10-06-2007, 08:58 PM #5
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?
-
10-06-2007, 09:12 PM #6Moderator / DRP Dev Team
- 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 sftpLast edited by jedinight; 10-06-2007 at 09:12 PM. Reason: Automerged Doublepost
-
The Following User Says Thank You to jedinight For This Useful Post:
Cyrusx7 (10-07-2007)
-
10-06-2007, 09:44 PM #7
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.
-
10-06-2007, 09:56 PM #8Moderator / DRP Dev Team
- 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
-
The Following User Says Thank You to jedinight For This Useful Post:
Cyrusx7 (10-07-2007)
-
10-06-2007, 10:14 PM #9
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?
-
10-06-2007, 10:35 PM #10Livin the iPhone Life
- 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.
-
The Following User Says Thank You to Eurisko For This Useful Post:
Cyrusx7 (10-07-2007)
-
10-07-2007, 12:04 AM #11
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 :-DLast edited by Cyrusx7; 10-07-2007 at 12:07 AM.
-
02-29-2008, 06:22 PM #12
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
-
04-15-2008, 03:01 AM #13
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!
-
04-15-2008, 02:19 PM #14Livin 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
-
04-15-2008, 02:59 PM #15Supreme Moderator
- Join Date
- Jan 2008
- Location
- TX Follow me @StealthBravo
- Posts
- 32,492
- Thanks
- 44
- Thanked 5,315 Times in 3,106 Posts
restore



LinkBack URL
About LinkBacks
Reply With Quote


