Answers for "git: host key verification failed error"

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
2

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
Posted by: Guest on June-11-2020

Code answers related to "git: host key verification failed error"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language