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

连接节点后Jenkins报这个错误

ERROR: Unexpected error while trying to authenticate as gxd with credential=e3d12f11-20f1-4dd8-a333-ebf89307ef02
java.io.IOException: Keyboard-interactive authentication failed.
	at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:420)
	at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:311)
	at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:232)
	at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPasswordAuthenticator.doAuthenticate(TrileadSSHPasswordAuthenticator.java:122)
	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:438)
	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:458)
	at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1361)
	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(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: The connection is closed.
	at com.trilead.ssh2.auth.AuthenticationManager.deQueue(AuthenticationManager.java:66)
	at com.trilead.ssh2.auth.AuthenticationManager.getNextMessage(AuthenticationManager.java:89)
	at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:370)
	... 12 more
Caused by: java.io.IOException: Cannot read full block, EOF reached.
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
	at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
	at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:706)
	at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
	... 1 more
[06/20/18 15:52:03] [SSH] 认证失败。
认证失败。
[06/20/18 15:52:03] Launch failed - cleaning up connection
[06/20/18 15:52:03] [SSH] 连接关闭。
[06/20/18 15:52:03] [SSH] Opening SSH connection to 192.168.16.16:22.
[06/20/18 15:52:03] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.ERROR: Failed to authenticate as gxd. Wrong password. (credentialId:e3d12f11-20f1-4dd8-a333-ebf89307ef02/method:password)ERROR: Unexpected error while trying to authenticate as gxd with credential=e3d12f11-20f1-4dd8-a333-ebf89307ef02
java.io.IOException: Keyboard-interactive authentication failed.
	at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:420)
	at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:311)
	at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:232)
	at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPasswordAuthenticator.doAuthenticate(TrileadSSHPasswordAuthenticator.java:122)
	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:438)
	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:458)
	at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1361)
	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(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: The connection is closed.
	at com.trilead.ssh2.auth.AuthenticationManager.deQueue(AuthenticationManager.java:66)
	at com.trilead.ssh2.auth.AuthenticationManager.getNextMessage(AuthenticationManager.java:89)
	at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:370)
	... 12 more
Caused by: java.io.IOException: Cannot read full block, EOF reached.
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
	at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
	at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:706)
	at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
	... 1 more
[06/20/18 15:54:03] [SSH] 认证失败。
认证失败。
[06/20/18 15:54:03] Launch failed - cleaning up connection
[06/20/18 15:54:03] [SSH] 连接关闭。
[06/20/18 15:54:03] [SSH] Opening SSH connection to 192.168.16.16:22.
[06/20/18 15:54:03] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.ERROR: Failed to authenticate as gxd. Wrong password. (credentialId:e3d12f11-20f1-4dd8-a333-ebf89307ef02/method:password)ERROR: Unexpected error while trying to authenticate as gxd with credential=e3d12f11-20f1-4dd8-a333-ebf89307ef02
java.io.IOException: Keyboard-interactive authentication failed.
	at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:420)
	at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:311)
	at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:232)
	at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPasswordAuthenticator.doAuthenticate(TrileadSSHPasswordAuthenticator.java:122)
	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:438)
	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:458)
	at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1361)
	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(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: The connection is closed.
	at com.trilead.ssh2.auth.AuthenticationManager.deQueue(AuthenticationManager.java:66)
	at com.trilead.ssh2.auth.AuthenticationManager.getNextMessage(AuthenticationManager.java:89)
	at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:370)
	... 12 more
Caused by: java.io.IOException: Cannot read full block, EOF reached.
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
	at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
	at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
	at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:706)
	at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
	... 1 more
[06/20/18 15:56:03] [SSH] 认证失败。


正在回答

3 回答

都是这样的问题,折腾半天还是这样

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

https://img1.sycdn.imooc.com//5b2e0e8e0001e3de08280068.jpg节点配置验证策略选择不需要 其它选项要配置

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

慕粉1728312458

选择这项也不可以,还是报错的;
2021-06-24 回复 有任何疑惑可以回复我~

没有完全看懂

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

举报

0/150
提交
取消

连接节点后Jenkins报这个错误

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