Git error: “Host Key Verification Failed” when connecting to remote repository

As I answered previously in Cloning git repo causes error – Host key verification failed. fatal: The remote end hung up unexpectedly, add GitHub to the list of known hosts:

ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts

Leave a Comment