问答详情
源自:3-11 尝试连接

各位大神,帮忙看看怎么解决No Known Hosts file was found at C:\Users\wqing\.ssh\known_hosts. Please ensure one is created at this path and that Jenkins can read it. Key exchange was not finished, connection is closed.

各位大神,帮忙看看怎么解决

SSHLauncher{host='192.168.190.***', port=22, credentialsId='ee650067-daa2-45e3-bab5-a7b3df2f3e24', jvmOptions='/usr/java/jdk1.8.0_201', javaPath='/usr/java/jdk1.8.0_201', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[03/21/19 11:53:09] [SSH] Opening SSH connection to 192.168.190.***:22.
C:\Users\8***\.ssh\known_hosts [SSH] No Known Hosts file was found at C:\Users\w***\.ssh\known_hosts. Please ensure one is created at this path and that Jenkins can read it.
Key exchange was not finished, connection is closed.

https://img.mukewang.com/5c930b9b0001a52311800620.jpg

提问者:宝慕林3079866 2019-03-21 11:57

个回答

  • DS5776666
    2019-09-30 22:38:45

    同学,,解决没

  • Wake_up_dream
    2019-06-02 16:55:27

    我也遇到类似问题了:

    SHLauncher{host='192.168.198.88', port=22, credentialsId='9483e', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
    [06/02/19 16:52:36] [SSH] Opening SSH connection to 192.168.198.88:22.
    [06/02/19 16:52:36] [SSH] WARNING: SSH Host Keys are not being verified. Man-in-the-middle attacks may be possible against this connection.
    [06/02/19 16:52:36] [SSH] 认证失败。
    认证失败。
    [06/02/19 16:52:36] Launch failed - cleaning up connection
    [06/02/19 16:52:36] [SSH] 连接关闭。


  • JerryChanhh
    2019-03-27 21:13:56

    配置节点--启动方式时,选择Non verifying Verification Strategy

    https://img2.mukewang.com/5c9b76d800016ec306540271.jpg

  • 业余奶茶品鉴师
    2019-03-21 14:46:17

    哪步出现的啊?