您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

Jenkins主机密钥验证失败

Jenkins主机密钥验证失败

更改为jenkins用户并手动运行命令:

git ls-remote -h git@bitbucket.org:person/projectmarket.git HEAD

首次通过SSH连接到新主机时,您将获得标准的SSH警告:

The authenticity of host 'bitbucket.org (207.223.240.181)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)?

键入yes,然后按Enter。bitbucket.org现在,用于的主机密钥将添加~/.ssh/kNown_hosts文件中,您将不再在Jenkins中收到此错误

其他 2022/1/1 18:15:23 有387人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶