添加了ssh互信,但一直提示如下错误。

jenkins添加GIT repository报错Failed to connect to repository : Command "git ls-remote -h git@git.xxx.cn:xxxxx HEAD" returned status code 128:
stdout: 
stderr: Host key verification failed. 
fatal: The remote end hung up unexpectedly

 

# vi/etc/ssh/ssh_config
最后有两行是
        StrictHostKeyChecking no 
        UserKnownHostsFile /dev/null

注释掉。

 

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2021-12-05
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
相关资源
相似解决方案