Resolve 'Warning! Remote Host Identification Has Changed!' error

If you are getting same warning message as given below when you SSH in to your Linux or Unix server for the first time. 

Then don't worry mate, you have found what you were looking for.

 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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

Possible reason behind this warning message:-

When a new server is created with an IP address which was used previously on a different server.

 

Step to resolve this issue:-

Open a new terminal window and enter the following command:-

ssh-keygen -R IPADDRESS

(Here IPADDRESS is your server's IP address)

 
  • Ubuntu, Linux VPS, Warning! Remote Host Identification Has Changed!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Guide to Beginners: Install Ubuntu-Linux

PART 1: GET PREPARED   Yep, you can carry around a bootable, persistent, modern OS on...

How to install Webmin in CentOS 7

How to Install Webmin on CentOS 7 Webmin is an open-source web control panel for system...

How to remotely access Ubuntu from Windows machine

If you want to access Ubuntu server remotely from a Windows machine through Remote Desktop...