Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

host key verification failed

"Host key verification failed" means that the host key of the remote host was changed.

SSH stores the host keys of the remote hosts in ~/.ssh/known_hosts. You can either edit that text file manually and remove the old key (you can see the line number in the error message), or use

ssh-keygen -R hostname
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #host #key #verification #failed
ADD COMMENT
Topic
Name
8+3 =