git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Tomas CarneckyNext: Ilari Liusvaara
Message 4 of 5 in “simplest git deamon?”
  1. Mihamina RakotomandimbyApr 12, 2010
  2. Shawn O. PearceApr 12, 2010
  3. Tomas CarneckyApr 12, 2010
  4. Matthieu MoyApr 12, 2010
  5. Ilari LiusvaaraApr 12, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.