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,所以会出现那个问题,我很奇怪前面的机器为什么没有这个问题。

所以修改配置项


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


Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐