Created
April 2, 2025 08:41
-
-
Save webmechanicx/2639b65dec0595aa661ed3bb5a62b1df to your computer and use it in GitHub Desktop.
Git error: "Host Key Verification Failed" known_hosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please contact your system administrator. | |
Add correct host key in /Users/user_name/.ssh/known_hosts to get rid of this message. | |
Offending RSA key in /Users/user_name/.ssh/known_hosts | |
Host key for github.com has changed and you have requested strict checking. | |
Host key verification failed. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
##Solution | |
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts | |
##Read More | |
https://stackoverflow.com/questions/13363553/git-error-host-key-verification-failed-when-connecting-to-remote-repository |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment