Archive for the ‘REMOTE HOST IDENTIFICATION HAS CHANGED’ Category


Problem

              “REMOTE HOST IDENTIFICATION HAS CHANGED”

 

[root@test ~]# ssh 10.10.10.110

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 ECDSA key sent by the remote host is

SHA256:Z8a5Z9sRzx38HRONwy/jrxt4GeeB8Bb6pGJNTH629bQ.

Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /root/.ssh/known_hosts:1

ECDSA host key for 10.10.10.11 has changed and you have requested strict checking.

Host key verification failed.

#cat /root/.ssh/known_hosts| grep 10.10.10.11

10.10.10.11 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCsg9c8VsnZceixYiJ8pq

Reason SSH authentication key is changed in the destination server

Fix for this issue remove or comment older authentication key from source server in /root/.ssh/known_hosts file and try ssh it will work.