________________________________
From: "Lewis, Eric" <eric.le...@ipi.ch>
To: "jenkinsci-users@googlegroups.com" <jenkinsci-users@googlegroups.com>
Sent: Friday, June 1, 2012 8:48 AM
Subject: AW: Dummy's guide to Jenkins CLI with authentication
Thanks for the hint: I read the page, but I'm none the wiser... sorry! It
points to https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI and "working
with credentials", which I already read and got stuck...
Best regards,
Eric
-----Ursprüngliche Nachricht-----
Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com]
Im Auftrag von Sami Tikka
Gesendet: Donnerstag, 31. Mai 2012 19:29
An: jenkinsci-users@googlegroups.com
Betreff: Re: Dummy's guide to Jenkins CLI with authentication
Did you read https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+SSH ?
It should describe what you need to do.
-- Sami
Lewis, Eric kirjoitti 31.5.2012 kello 16.24:
> Hi
>
> I'm trying to use the Jenkins CLI, but I'm getting nowhere...
> We're using 1.460, and I did read
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI but the crucial part
> about how to generate an SSH key pair is missing.
>
> My problem is that we have two different users:
> - The Linux user under which Jenkins is running
> - A build user which should have the right to run Jenkins CLI commands
>
> We use Active Directory and thus the AD plugin to authenticate. The build
> user exists in AD, but the Linux user doesn't.
> I tried to generate an SSH key pair using ssh-keygen, and it wrote the two
> key files into the ~/.ssh directory, but of course for the Linux user.
> I then logged in with the build user and set the public key of the Linux user
> into the text area (that's the content of the file ~/.ssh/id_rsa.pub, right?)
>
> But then I always get "Failed to authenticate with your SSH keys."
>
> I'm probably doing something terribly wrong :-) but I have no clue.
>
> Does anyone care to explain in simple steps what to do?
>
> Thanks & best regards,
> Eric