SSH connection problem with "Host key verification failed..." error« Back to Questions List

I can not connect to my PC via SSH and I got this error: Host key verification failed…

Posted by Dmytro Yakovenko
Asked on November 27, 2022 7:57 am
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 darkfire
Answered On November 27, 2022 7:58 am