[08/06/18?17:52:52]?[SSH]?Opening?SSH?connection?to?10.18.6.30:22.
C:\Windows\system32\config\systemprofile\.ssh\known_hosts?[SSH]?No?Known?Hosts?file?was?found?at?C:\Windows\system32\config\systemprofile\.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?10.18.6.30:22
at?com.trilead.ssh2.Connection.connect(Connection.java:834)
at?hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1324)
at?hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:831)
at?hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:820)
at?java.util.concurrent.FutureTask.run(Unknown?Source)
at?java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown?Source)
at?java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown?Source)
at?java.lang.Thread.run(Unknown?Source)
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:786)
...?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
[08/06/18?17:52:53]?Launch?failed?-?cleaning?up?connection
[08/06/18?17:52:53]?[SSH]?連接關(guān)閉。
2019-11-20
這個(gè)方法幫了俺?
2018-10-04
配置節(jié)點(diǎn)時(shí),將Host Key Verification Strategy選項(xiàng)勾選為Non verifying Verification Strategy。如果還報(bào)其他的錯(cuò)誤,檢查一下配置的Linux的用戶名密碼時(shí)否正確