quicklyweb

Member
Apr 24, 2005
15
0
151
In whm i enabled the password authentication for ssh for security. Now every time i try to login i get following

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
7e:4b:ec:13:3f:1d:e6:31:70:4b:20:f4:89:df:90:a9.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:3
RSA host key for XXXXXX.XXX has changed and you have requested strict checking.
Host key verification failed.


So now i am stuck and can't login trough SSH. Can anyone explain what i need to do . I will preciate for anyhelp
 

apodigm

Well-Known Member
May 12, 2003
67
0
156
What was the resolution?

I'm getting a similar issue. Putty says it may be a possible man-in-the-middle attach.

SSH to my other servers are working normally. I dont know why my keys on this one server have been changed.
 

McPhee

Registered
Dec 5, 2006
3
0
151
It can normally be dealt with by removing the appropriate entry from within your ~/.ssh/known_hosts file. This is assuming your are using Linux as your local machine. Otherwise, the entry will need to be removed from whever your SSH client keeps them.