WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

How to solve this error while making ssh?

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
e5:e6:cb:f9:c4:2e:b1:8f:7c:b6:4c:8e:3a:aa:33:27.
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:1
RSA host key for 192.168.2.96 has changed and you have requested strict checking.
Host key verification failed.
lost connection

Solution:

[xxx@localhost .ssh]# cd ~/.ssh
[xxx@localhost .ssh]# ls
known_hosts
[xxx@localhost .ssh]# rm known_hosts
rm: remove regular file `known_hosts’? y

It works…………

Advertisements

1 Comment »

  1. 1
    Sathis Says:

    Thank U so Much…….


RSS Feed for this entry

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: