Answers for "host key verification failed. [exec] fatal: could not read from remote repository. [exec] [exec] please make sure you have the correct access rights [exec] and the repository exists."

4

git 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

# (If it says 'Command not found', try to run the command in your Git Bash.)
Posted by: Guest on June-02-2020

Code answers related to "host key verification failed. [exec] fatal: could not read from remote repository. [exec] [exec] please make sure you have the correct access rights [exec] and the repository exists."

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language