No entry currently exists in the Known Hosts file for this host. Connections will be denied until th

Warning: no key algorithms provided; JENKINS-42959 disabled
 
WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file.

相信配置jenkins的时候会遇到这种鸟蛋问题,看日志的时候也是这样的


日志如下


找了好久原因,说是jenkins机器的

~/.ssh/known_hosts这个文件里面没有配置191机器的know hosts,所以会出现那个问题,我很奇怪前面的机器为什么没有这个问题。

所以修改配置项


这样就好了,但是官方不推荐这样。不管如何,问题先解决了,反正都是内网环境,安全性应该可以保证。


  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 6
    评论
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值