Re: simplest git deamon?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Apr 12, 2010, 14:24 UTC
- Message-ID
- <vpqmxx8g34h.fsf@bauges.imag.fr>
- In-Reply-To
- <20100412164740.740050cb@pbmiha.malagasy.com>
Mihamina Rakotomandimby <mihamina@gulfsat.mg> writes:
Show 7 quoted lines
> Manao ahoana, Hello, Bonjour, > > I would like to setup a git repository, on a Debian machine. > I would like to access it only with git:// (no http://, no ssh://,...) > > How to implement read/write restriction when just wanting to use > "git://" without dealing with SSH?
You do want SSH: Git itself doesn't do encryption, so implementing access control over plain git:// would be insecure. And Git prefered to delegate access control to well established solution such as SSH.
I'd recommand having a second look at gitosis, or its variant gitolite, which provide a configuration file mostly like what you expect :
Show 10 quoted lines
> [users] > alice: al_pass > bob : b_pass > > [groups] > senior:alice,bob > > [permissions] > @senior:all > @anonymous:clone
-- Matthieu Moy http://www-verimag.imag.fr/~moy/