ssh login failure - keys changed
Edit .ssh/known_hosts
Offending key in /home/ccm/.ssh/known_hosts:46
[...]
Host key verification failed.
$ sed -i "19 d" .ssh/known_hosts
Offending key in /home/ccm/.ssh/known_hosts:46
[...]
Host key verification failed.
$ sed -i "19 d" .ssh/known_hosts
troy@troy-laptop:~$ ssh <username>@<hostname>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
94:13:56:13:8b:1c:51:19:d7:14:2d:fa:7f:0c:ab:a4.
Please contact your system administrator.
Add correct host key in /home/troy/.ssh/known_hosts to get rid of this message.
Offending key in /home/troy/.ssh/known_hosts:19
RSA host key for <hostname> has changed and you have requested strict checking.
Host key verification failed.
Comments