Skip to content

Instantly share code, notes, and snippets.

@tomasevich
Created November 29, 2021 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasevich/71f8abe588d56fb7882c007536a22a7e to your computer and use it in GitHub Desktop.
Save tomasevich/71f8abe588d56fb7882c007536a22a7e to your computer and use it in GitHub Desktop.
Host key verification failed

fatal: Could not read from remote repository? Please make sure you have the correct access rights and the repository exists?

Try this: ssh-keyscan -H github.com > ~/.ssh/known_hosts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment