Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: plugin, ssh-slaves
Created: 17/Jul/13 10:03 AM
Description:

I'm trying to connect to Jenkins Slave machines with SSH username and Certificate. No password. The public certificate on Jenkins slave resides in public certificate in /home/jenkins/.ssh/authorized_keys/id_rsa.pub.

You can find the error below:
[07/17/13 12:40:16] [SSH] Opening SSH connection to MY_HOSTNAME:22.
ERROR: Server rejected the private key for jenkins (credentialId:b2bd2fe3-22e9-45dc-a7d1-xxxxxxxxxxxx/method:publickey)
[07/17/13 12:40:17] [SSH] Authentication failed.
hudson.AbortException: Authentication failed.
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:954)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:488)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:222)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[07/17/13 12:40:17] [SSH] Connection closed.

Due Date: 17/Jul/13 12:00 AM
Environment: Jenkins Master: Windows 2008 x64 with Jenkins LTS v. 1.509.2, with private certificate in Jenkins directory
Jenkins Slave: Centos 6.4 x64 with public certificate in /home/jenkins/.ssh/authorized_keys/id_rsa.pub
Project: Jenkins
Priority: Major Major
Reporter: Potroshitel Jack
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/groups/opt_out.
 
 

Reply via email to