Search This Blog

Wednesday, July 17, 2013

Host key verification failed...




Problem:    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
96:f3:6d:5b:73:38:f0:31:3e:3f:11:91:a9:f8:ba:b4.
Please contact your system administrator.
Add correct host key in /home/boss/.ssh/known_hosts to get rid of this message.
Offending key in /home/boss/.ssh/known_hosts:6
RSA host key for 202.141.151.19 has changed and you have requested strict checking.
Host key verification failed.

Solution:

Open ~/.ssh/known_hosts and delete all lines, after just reconnect and you will get a new key.

eg. pico ~/.ssh/known_hosts and delete all lines