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

前端 未结 19 1171
迷失自我
迷失自我 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:40

    If you are in office intranet (otherwise dangerous) which is always protected by firewalls simply have the following lines in your ~/.ssh/config.

    Host *
      StrictHostKeyChecking no
      UserKnownHostsFile=/dev/null
    

提交回复
热议问题