-
11-21-2007, 08:26 PM #1
Trying to change the ssh password
I recently had to restore my phone after upgrading to 1.1.2. I originally upgraded from 1.1.1 where I had already changed my password from the default and here's what I'm getting in terminal when I try it:
Shawns-Computer:~ tolar_5$ ssh [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
e1:3f:7d:71:5c:f3:a2:f9:d5:46:d6:cc:c5:d1:c3:3b.
Please contact your system administrator.
Add correct host key in /Users/tolar_5/.ssh/known_hosts to get rid of this message.
Offending key in /Users/tolar_5/.ssh/known_hosts:1
RSA host key for 192.168.0.3 has changed and you have requested strict checking.
Host key verification failed.
Shawns-Computer:~ tolar_5$
Sorry if this is a pretty simple fix but I've only had my mac for about a week now.
Thanks for the help guys!
-
11-21-2007, 09:39 PM #2Owner / Founder - ModMyi
aka cash7c3
- Join Date
- May 2007
- Location
- Denver, CO
- Posts
- 11,873
- Thanks
- 340
- Thanked 15,253 Times in 649 Posts
in terminal enter
rm -f ~/.ssh/known_hosts
then try to shh into your phone
-
-
11-21-2007, 10:13 PM #3
-
11-23-2007, 04:35 PM #4
Amazing! That worked for me as well. I couldn't understand why I couldn't SSH in anymore after the above events.
Cash - what exactly is that terminal command doing?
Thanks!
-
11-23-2007, 09:28 PM #5Owner / Founder - ModMyi
aka cash7c3
- Join Date
- May 2007
- Location
- Denver, CO
- Posts
- 11,873
- Thanks
- 340
- Thanked 15,253 Times in 649 Posts
clearing out all ssh know host keys.

-
12-13-2007, 11:15 AM #6
Cash,
I was having the same problem. I removed the 'known_hosts' file but I still cannot connect to my iPhone using Fugu or Fetch. Still getting the same error; 'Remote Host Identification' Has Changed'.
I restarted the phone, try removing the file a second time, nothing seems to help.
Thoughts?
-
12-13-2007, 11:24 AM #7
because you need to use terminal the first time to generate a new key.
just ssh -l Root@iphone's IP adress, and you'll see the RSA warning window. Type yes, wait for a bit, then once you're logged on, you can use fugu.. whatever that is... I presume an FTP client (no, I'm not motivated to go to fugu.com).Search NAZI
-
12-13-2007, 11:52 AM #8
Thanks for the quick reply.
Entering the command as you supplied it does not work. Terminal just displays the proper way to use the ssh command. ;-}
If I enter 'ssh iphones_ip_address -l root' then I get the ssh request to generate a new key. I enter 'yes' and ssh is happy. Unfortunately I still cannot connect from either my Mac's terminal or Fetch or Fugu.
Any other thoughts?
-------------------
Fixed it by again deleting the 'known_hosts' file from my Mac and then regenerating the key.
Thanks you both. I appreciate your help.Last edited by The Inventor; 12-13-2007 at 11:55 AM.
-
12-14-2007, 12:14 AM #9
Hmmm.. I don't know what version of Terminal you're using. Are you using Bash?
ssh -l root@ip address has wored for me for.... 12? 15? years now... Dunno.Search NAZI



LinkBack URL
About LinkBacks
Reply With Quote



