Thread (1 message) 1 message, 1 author, 2016-06-15

Re: simplest git deamon?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:48:36

Mihamina Rakotomandimby [off-list ref] 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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help