ssh host key verification failed error
Publisher: Psychz Networks, October 03,2015SSH host key verification is a Linux/Unix security method to keep a hash fingerprint of all the ssh host that connects to your machine. When verification fails to authenticate it usually means the remote host ssh fingerprint was changed commonly due to an OS reload.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 b7:f5:48:4c:d0:1d:76:6a:50:4a:88:12:c7:80:f1:e5. 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:300 RSA host key for
myhost has changed and you have requested strict checking. Host key verification failed. - See more
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 b7:f5:48:4c:d0:1d:76:6a:50:4a:88:12:c7:80:f1:e5. 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:300 RSA host key for
myhost has changed and you have requested strict checking. Host key verification failed. - See more
- The error message says that the file that we need to remove is located on line 300 of your know_host.
/home/user/.ssh/known_hosts:300
2. A quick and easy way to open the known_host and go straight to line 300 is by using VI.
vi 300 /home/user/.ssh/known_hosts
3. Once you open the known_hosts straight to line 300 do the following keyboard commands press "ESC dd" to delete the line. You can save the changes by pressing "esc" and typing ":wq!".