From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Heiko Voigt <hvoigt@hvoigt.net>
Cc: Howard Miller <howard@e-learndesign.co.uk>, git@vger.kernel.org
Subject: Re: How does gitosis know who the key belongs to
Date: Thu, 24 Sep 2009 21:26:43 +0200 [thread overview]
Message-ID: <vpqskeckuto.fsf@bauges.imag.fr> (raw)
In-Reply-To: <20090924172610.GA31309@book.hvoigt.net> (Heiko Voigt's message of "Thu\, 24 Sep 2009 19\:26\:16 +0200")
Heiko Voigt <hvoigt@hvoigt.net> writes:
> On Thu, Sep 24, 2009 at 03:51:44PM +0100, Howard Miller wrote:
>> Gitosis obviously uses keypairs but the config file addresses the user
>> by name/host. How does gitosis connect the two together? Is it any
>> more complicated than the user detail at the end of the public key?
The user@host at the end of the public key is mostly a comment. No
serious software would use it for authentication, since you can freely
edit it without changing the rest of the key.
> Not much different. It uses the command feature of the authorized_keys
> file of ssh to limit access to the 'gitosis-serve' command which is
> given the username from the gitosis.conf as argument.
... the username -> key association being done in gitosis's
configuration itself (the key held in keydir/foobar is the one of user
foobar).
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2009-09-24 19:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 14:51 How does gitosis know who the key belongs to Howard Miller
2009-09-24 17:26 ` Heiko Voigt
2009-09-24 19:26 ` Matthieu Moy [this message]
2009-09-25 6:10 ` Howard Miller
2009-09-25 6:15 ` Howard Miller
2009-09-25 8:20 ` Matthieu Moy
2009-09-25 8:31 ` Howard Miller
2009-09-25 6:33 ` Heiko Voigt
2009-09-25 12:01 ` Sitaram Chamarty
-- strict thread matches above, loose matches on Subject: below --
2009-09-24 14:49 Howard Miller
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqskeckuto.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=howard@e-learndesign.co.uk \
--cc=hvoigt@hvoigt.net \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.