为了账号安全,请及时绑定邮箱和手机立即绑定

启动Jenkins代理连接不上虚拟机

SSHLauncher{host='192.168.101.14', port=22, credentialsId='924a046a-8c51-4307-bfc7-4a36c9439a26', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[06/26/19 12:46:22] [SSH] Opening SSH connection to 192.168.101.14:22.
C:\Users\Administrator\.ssh\known_hosts [SSH] No Known Hosts file was found at C:\Users\Administrator\.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.
java.io.IOException: There was a problem while connecting to 192.168.101.14:22
	at com.trilead.ssh2.Connection.connect(Connection.java:758)
	at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:817)
	at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:419)
	at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:406)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
	at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:95)
	at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:237)
	at com.trilead.ssh2.Connection.connect(Connection.java:710)
	... 7 more
Caused by: java.io.IOException: The server hostkey was not accepted by the verifier callback
	at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:548)
	at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:790)
	at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
	... 1 more
[06/26/19 12:46:22] Launch failed - cleaning up connection
[06/26/19 12:46:22] [SSH] 连接关闭。


正在回答

1 回答

启动方式 勾选Non verifying Verification Strategy

1 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

启动Jenkins代理连接不上虚拟机

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信