SSH REMOTE HOST IDENTIFICATION HAS CHANGED -IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY

Posted: July 14, 2018 in REMOTE HOST IDENTIFICATION HAS CHANGED, Troubleshooting

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.

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.