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'm trying to set-up a private git repo for code sharing, but found out that most of the implementations out there require use of SSH public keys, for example:

The only approach looking reasonable is the git-daemon, but it does not contain any authentication, and while it might be a good option for LAN, it is no go for remote working.

Coming from SVN daemon, where all the access was conveniently controlled via single file, the SSH keys scheme quite a hurdle for me.

Is there any way to securely share multiple Git repositories, without using SSH authentication?

Thanks in advance!

share|improve this question
Why is SSH not an option for you? Once you get your head wrapped around it, it's incredibly simple to work with. – Alex Holst Feb 3 '11 at 15:27
up vote 1 down vote accepted

SSH auth is the most common way to do this. Even though it seems a bit complex to you, try taking a look at something called 'gitolite'. It makes the process pretty straightforward (You basically have one file that is similar to a standard SVN authz file, and another directory full of SSH keys).

I don't think there's any other way to do this, everything relies on SSH keys because it's a reliable way to do this.

share|improve this answer

Check out Gitosis ( ). It's an easy way to host git repos. It uses SSH to authenticate, but doesn't allow the user full SSH access to the host.

share|improve this answer

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.