gpt4 book ai didi

jenkins - 无法连接到/var/jenkins_home/.ssh/known_hosts 的 Jenkins Slave No Known Hosts 文件

转载 作者:行者123 更新时间:2023-12-04 02:49:29 31 4
gpt4 key购买 nike

这是我的 Jenkins 配置:enter image description here

enter image description here

错误信息:

/var/jenkins_home/.ssh/known_hosts [SSH] No Known Hosts file was found at /var/jenkins_home/.ssh/known_hosts. Please ensure one is created at this path and that Jenkins can read it.

无论我尝试了多少,它都不起作用。我已阅读 this post ,但仍然没有解决方案。

最佳答案

我在启动 slave 时遇到了同样的错误。它与 SSH Slave Plugin 有关.对我有用的是将 LAUNCH METHOD 中的主机 key 验证策略从“Known Hosts file verification strategy”更改为 "Manually trusted key verification strategy"。 .

CONFIGURE AGENT -> LAUNCH METHOD -> Manually trusted key verification strategy - > SAVE.



希望这可以帮助。

关于jenkins - 无法连接到/var/jenkins_home/.ssh/known_hosts 的 Jenkins Slave No Known Hosts 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44441935/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com