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

I have a git server running for a small group to check into and I am wondering if there is a way to set it up so the user can log in with their password rather than having to use a public key?

Thanks for any help!

share|improve this question
3  
Why would you want to use passwords instead of keys? Keys are superior in nearly all respects. Yes, they take a bit more work to get set up, but that's a one-time task, after which things are a lot simpler for the user and more secure. –  EEAA Mar 14 '11 at 1:36
    
I second ErikA's comment, which is especially true for a group of developers. Surely they are technically capable of getting keys set up? (If not, then they shouldn't be working on your project) –  Jesse Taylor Mar 14 '11 at 2:09

1 Answer 1

up vote 0 down vote accepted

You can set up a smart https transport on the Git server, which means you can use the Apache authentication mechanism (which can be linked to a LDAP for instance, allowing you to use your LDAP login/password).

Smart-HTTP is basically just enabling the new CGI script that is provided with Git called git-http-backend on the server.
This CGI will read the path and headers sent by the revamped git fetch and git push binaries who have learned to communicate in a specific way with a smart server.

share|improve this answer

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.