The error will often give you the location of the known_hosts file you need to change, as in the example above: First locate your ‘known_hosts’ file, and open in a general text editor.While contacting your system administrators when any odd warning message occurs is a good idea, you are safely able to resolve this issue yourself: If the server’s key has changed since the last time you connected to it, you will receive the above error. When you reconnect to the same server, the SSH connection will verify the current public key matches the one you have saved in your ‘known_hosts’ file. Whenever you connect to a server via SSH, that server’s public key is stored in your home directory (or possibly in your local account settings if using a Mac or Windows desktop) file called ‘known_hosts’. This error occurs when the target server you are trying to SSH into has been rebuilt or had it’s RSA key changed since the last time you connected to it. RSA host key for has changed and you have requested strict checking. Offending RSA key in /ua/username/.ssh/known_hosts:5 Please contact your system administrator.Īdd correct host key in /ua/username/.ssh/known_hosts to get rid of this message. The fingerprint for the RSA key sent by the remote host is x. It is also possible that a host key has just been changed. Someone could be eavesdropping on you right now (man-in-the-middle attack)! This guide will help resolve SSH connection issues that produce the following WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
0 Comments
Leave a Reply. |