From: Matthieu Moy Date: Mon, 12 Apr 2010 14:24:46 GMT Subject: Re: simplest git deamon? Message-ID: In-Reply-To: <20100412164740.740050cb@pbmiha.malagasy.com> Mihamina Rakotomandimby writes: > 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 : > [users] > alice: al_pass > bob : b_pass > > [groups] > senior:alice,bob > > [permissions] > @senior:all > @anonymous:clone -- Matthieu Moy http://www-verimag.imag.fr/~moy/