-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Ubuntu
I updated Jenkins to 1.514 using Jenkins SSH Slaves plugin
0.25 and all the connected nodes error with:
<code>
[05/02/13 11:26:09] [SSH] Opening SSH connection to x:22.
ERROR: Failed to authenticate as x with credential=x-x-x-x-x
java.io.IOException: Publickey authentication failed.
at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:264)
at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:445)
at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPublicKeyAuthenticator.doAuthenticate(TrileadSSHPublicKeyAuthenticator.java:92)
at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:262)
at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:282)
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:918)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:479)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:223)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing
at com.trilead.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:138)
at com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:313)
at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:173)
... 12 more
[05/02/13 11:26:09] [SSH] Authentication failed.
hudson.AbortException: Authentication failed.
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:923)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:479)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:223)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
[05/02/13 11:26:09] [SSH] Connection closed.
</code>
The keys haven't changed and they worked fine before the upgrade...
- duplicates
-
JENKINS-17366 ssh slave login via keyfile not working in 0.23
- Closed