Answers for "host key verification failed ignore"

3

host key verification failed

#Windows:
ssh-keyscan -t rsa github.com >> %userprofile%/.ssh/known_hosts

#Mac:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
Posted by: Guest on June-11-2020
0

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
Posted by: Guest on February-10-2022

Code answers related to "host key verification failed ignore"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language