I added a user in Global Credentials:

   - Global User
   - username = apache
   - Private key = Enter Directly (I added this from cat ~/.ssh/id_rsa.pub 
   for the user running the build from other server - username is apache on 
   other server but I don't think that matters)


When I attempt to build, I get:  Authentication failed. No private key 
accepted.  Note that my passphrase is blank but when I go back in it looks 
like there's a passphrase entered in there.  Here's an example of my 
command line entry:

java -jar jenkins-cli.jar -s http://nd100bd001:8080/ -i 
/home/apache/.ssh/id_rsa who-am-I

This works successfully when I do it as my user and I have my user's 
id_rsa.pub in my own configuration.  Any help?

Thanks,
Eric

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3cbf6f3b-709b-45b1-8294-e61a16738d03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to