简体   繁体   English

Jenkins 主机密钥验证部署失败

[英]Jenkins Host key verification failed to deploy

i have project jenkins to deploy to my remote server, my local machine and my remote server was connected with ssh but when i try to build job on jenkins, i am getting error like this image我有项目 jenkins 部署到我的远程服务器,我的本地机器和我的远程服务器与 ssh 连接但是当我尝试在 jenkins 上构建作业时,我收到类似此图像的错误

Login on your jenkins and then try to connect manually on the command line with ssh from jenkins to the remote server.登录您的 jenkins,然后尝试在命令行上使用 ssh 从 jenkins 手动连接到远程服务器。 Then approve the host key of the remote system.然后批准远程系统的主机密钥。 Run again your job.再次运行你的工作。 Then I think everything should be fine.然后我认为一切都应该没问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM