0

Warning Remote Host Identification Has Changed!

In my newly installed OS, i got this error while ssh to another machine...

How to clear this....???

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
51:82:00:1c:7e:6f:ac:ac:de:f1:53:08:1c:7d:55:68.
Please contact your system administrator.
OpenSSH SSH Add a comment
caden
asked Feb 06 2017

Answer

0

This is because of SSH key is changed... Follow the steps:

  1. open the file which will be shown in that error (/home/USER/.ssh/known_hosts)

  2. search the SSH key with respective IP-address and remove the whole Key.

  3. now relogin, it will ask for adding the new key, give Yes and proceed!!!!!

Add a comment
jagannatharumugam
asked Feb 06 2017
edited Oct 05 2018
Post your Answer