[JIRA] (JENKINS-37506) digitalOcean Plugin failed on PlublicKey Authentication

1 view
Skip to first unread message

richard.fagot@gmail.com (JIRA)

unread,
Aug 18, 2016, 5:39:01 AM8/18/16
to jenkinsc...@googlegroups.com
Richard Fagot created an issue
 
Jenkins / Bug JENKINS-37506
digitalOcean Plugin failed on PlublicKey Authentication
Issue Type: Bug Bug
Assignee: Unassigned
Components: digitalocean-plugin
Created: 2016/Aug/18 9:38 AM
Environment: Both Jenkins 1.6X and 2.X
Ubuntu 16.04
Priority: Blocker Blocker
Reporter: Richard Fagot

When lauching a job, the droplet is created but when the plugin try to connect using ssh key it fails.

AVERTISSEMENT: Publickey authentication failed.
java.io.IOException: Publickey authentication failed.
at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:315)
at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:467)
at com.dubture.jenkins.digitalocean.ComputerLauncher.launch(ComputerLauncher.java:154)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
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: Decrypted PEM has wrong padding, did you specify the correct password?
at com.trilead.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:110)
at com.trilead.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:287)
at com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:320)
at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:224)
... 8 more

The droplet created is a 512Mo with Ubuntu 16.04, user root using a public key declared in Digital Ocean console.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

sascha.egerer+jenkins@gmail.com (JIRA)

unread,
Jun 4, 2018, 9:42:01 AM6/4/18
to jenkinsc...@googlegroups.com
Sascha Egerer commented on Bug JENKINS-37506
 
Re: digitalOcean Plugin failed on PlublicKey Authentication

Did you configure the private key in jenkins and the public key in DO?

Is your private key password protected? It must not...

This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages