首页 > 其他 > 详细

jenkins添加GIT repository报错

时间:2016-01-02 00:55:16      阅读:272      评论:0      收藏:0      [点我收藏+]

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

技术分享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

注释掉。

 

jenkins添加GIT repository报错

原文:http://www.cnblogs.com/kisf/p/5094031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!