java.io.IOException: Publickey authentication failed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by AdnaneKhan
, 1 year ago
Publickey authentication failed.
via Google Groups by vasu...@yahoo.com (JIRA), 1 year ago
via Jenkins JIRA by bootstraponline, 1 year ago
Publickey authentication failed.
via Jenkins JIRA by bootstraponline, 1 year ago
Publickey authentication failed.
via Google Groups by richar...@gmail.com (JIRA), 1 year ago
java.io.IOException: Illegal len in DER object (1186)
at com.trilead.ssh2.crypto.SimpleDERReader.readSequenceAsByteArray(SimpleDERReader.java:136)
at com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:355)
at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:224)
at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPublicKeyAuthenticator.doAuthenticate(TrileadSSHPublicKeyAuthenticator.java:109)
at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:415)
at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:435)
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1212)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:711)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.