![]() |
|
|
|
|
Change By:
|
Alan Yang
(10/Nov/14 6:10 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.
This began occurring after upgrading jenkins with "yum upgrade jenkins." The configuration of slaves and credentials worked prior to upgrade.
I have tried downgrading Jenkins as well as each of the plugins, but
there was no change
continue to receive the error
.
Here are the things I have tried/verified: * SSHing as jenkins user to slave as user@slave works from command line * Recreating credentials and slaves * Was able to reproduce on a different slave as a different user
|
|
|
|
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.