@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is 06:ea:f1:f8:db:75:5c:0c:af:15:d7:99:2d:ef:08:2a. Please contact your system administrator. Add correct host key in /home/user/.ssh/known_hosts to get rid of this message. Offending key in /home/user/.ssh/known_hosts:4 RSA host key for domain.com has changed and you have requested strict checking. Host key verification failed.The SSH will show this message and exit restricting the user from connecting to the site or server, This problem arises when a site has changed servers and the server's RSA key which is transmitted when authenticating is different from the old server, To resolve the issue run the command below from command-line or SSH.
- ssh-keygen -R example.com
Note example.com is the domain name or the server IP, The output of the above command will be like below.
======
root@server[~]# ssh-keygen -R ronakyadav.com
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
======
No comments:
Post a Comment
Do Write about the Blog and Welcome to the world where open source is every thing :-)