Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have Hudson configured to connect to a Gitosis managed repository. I am using the Git plugin.

To manually clone a repo, I need to enter my ssh pass phrase. How can I make Hudson aware of my passphrase? There is a version of ssh-agent that comes with msysgit, but this is only available from git bash.

Any help would be greatly appreciated!!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Generate an ssh key that does not have a passphrase, and have Hudson use that. The point of a passphrase is to ensure that you personally are present when something uses the key -- for a server process, it doesn't make sense to have one.

The same ssh-keygen program that is typically used to generate an ssh key will cheerfully do so with no passphrase.

share|improve this answer
    
Thanks, Greg. That's what I ended up doing. But I thought it wasn't secure to have an empty passphrase. There is added protection for my setup, in that the git repo is managed by gitosis, so there is no shell access to the git repo server. –  Jacko Jul 7 '10 at 16:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.