Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: ssh-slaves-plugin
Created: 10/Nov/14 6:04 PM
Description:

The slaves on our project using credentials with a username different than the Jenkins user receive the following error:

[11/10/14 11:25:16] [SSH] Opening SSH connection to hostname.com:22.
ERROR: Server rejected the 1 private key(s) for builder (credentialId:21cdf000-1ffd-49d3-8984-e664cc3cf2cd/method:publickey)
[11/10/14 11:25:16] [SSH] Authentication failed.
hudson.AbortException: Authentication failed.
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1178)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:701)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[11/10/14 11:25:16] Launch failed - cleaning up connection
[11/10/14 11:25:16] [SSH] Connection closed.

I have tried downgrading Jenkins as well as each of the plugins, but there was no change.

Environment: Versions

Jenkins: 1.589
Credentials Plugin: 1.18
SSH Agent Plugin: 1.5
SSH Credentials Plugin: 1.10
SSH Plugin: 1.9

Jenkins slave OS: CentOS 5.8 (required for build environment)
Jenkins master OS: CentOS 6.5
Project: Jenkins
Priority: Major Major
Reporter: Alan Yang
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to