On 02/19/2013 01:44 PM, Mark Waite wrote:
> I think that indicates that the user account context where you have 
> configured "passwordless login" is probably different than the user account 
> context where you are executing Jenkins.
> 
> You might be able to check that by creating a small job which performs some 
> ssh command to the same remote host which is hosting your git repository.  
> For example, if you create a job which runs the command "ssh <IP address> 
> hostname" (on IP address, execute the command "hostname"), then you'll 
> probably see a similar "permission denied" message and you can begin studying 
> the differences between the context where it works and the context where it 
> fails.

Even simpler would be to log in (via ssh) as the user running the
jenkins slave and performing the same instructions as jenkins does for
testing the authentication.

Cheers,
Johannes


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to