It can be opened in a text editor of your choice with: ~]vim ~/.ssh/known_hosts Linux / Mac / Windows with MobaXterm Finding the known_hosts File:Īfter you have connected to a computer using ssh, the key you used to connected is stored in a file called known_hosts which is located in a hidden file (.ssh) in your home directory. This error will occur when the public key the host has changes.To fix this we must remove the key causing the error. The purpose of the known_hosts file is for the client to authenticate the server they are connecting to. Offending key in /home/user/.ssh/known_hosts:1 RSA host key for has changed and you have requested strict checking. Add correct host key in /home/user/.ssh/known_hosts to get rid of this message. Please contact your system administrator. Sometimes when connecting to a computer with SSH, things can get jumbled up and an error can occur that looks like this: 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.
0 Comments
Leave a Reply. |