Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.