From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Mihamina Rakotomandimby <mihamina@gulfsat.mg>
Cc: git@vger.kernel.org
Subject: Re: simplest git deamon?
Date: Mon, 12 Apr 2010 16:24:46 +0200 [thread overview]
Message-ID: <vpqmxx8g34h.fsf@bauges.imag.fr> (raw)
In-Reply-To: <20100412164740.740050cb@pbmiha.malagasy.com> (Mihamina Rakotomandimby's message of "Mon\, 12 Apr 2010 16\:47\:40 +0300")
Mihamina Rakotomandimby <mihamina@gulfsat.mg> 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/
next prev parent reply other threads:[~2010-04-12 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-12 13:47 simplest git deamon? Mihamina Rakotomandimby
2010-04-12 14:22 ` Shawn O. Pearce
2010-04-12 14:23 ` Tomas Carnecky
2010-04-12 14:24 ` Matthieu Moy [this message]
2010-04-12 23:22 ` Ilari Liusvaara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqmxx8g34h.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=mihamina@gulfsat.mg \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).