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

前端 未结 19 960
迷失自我
迷失自我 2020-11-22 11:40

I am trying to connect to a remote Git repository that resides on my web server and clone it to my machine.

I am using the following format for my command:



        
相关标签:
19条回答
  • 2020-11-22 12:41

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

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

    0 讨论(0)
提交回复
热议问题