Articles

How to Resolve 'Warning! Remote Host Identification Has Changed!'

Do not be alarmed if you receive this message when you SSH in to your server for the first time:

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

This can happen if you have created a new server with an IP address you had previously used on a different server.

To remove this message, simply open a new terminal window and enter the following command (where IPADDRESS is your server's IP address):

ssh-keygen -R IPADDRESS