From: Heiko Voigt <hvoigt@hvoigt.net>
To: Howard Miller <howard@e-learndesign.co.uk>
Cc: git@vger.kernel.org
Subject: Re: How does gitosis know who the key belongs to
Date: Thu, 24 Sep 2009 19:26:16 +0200 [thread overview]
Message-ID: <20090924172610.GA31309@book.hvoigt.net> (raw)
In-Reply-To: <26ae428a0909240751k3a799750h121935a79439b389@mail.gmail.com>
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?
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. gitosis-server
then takes care of the access control.
> The second part of my question then is is it possible to use the same
> private key on more than one host?
Yes definitely. It identifies the user not the host. Although you can
use differenty keys if you want.
cheers Heiko
next prev parent reply other threads:[~2009-09-24 17:26 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 [this message]
2009-09-24 19:26 ` Matthieu Moy
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=20090924172610.GA31309@book.hvoigt.net \
--to=hvoigt@hvoigt.net \
--cc=git@vger.kernel.org \
--cc=howard@e-learndesign.co.uk \
/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 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 NNTP newsgroup(s).