From: Howard Miller <howard@e-learndesign.co.uk>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: Heiko Voigt <hvoigt@hvoigt.net>, git@vger.kernel.org
Subject: Re: How does gitosis know who the key belongs to
Date: Fri, 25 Sep 2009 09:31:46 +0100 [thread overview]
Message-ID: <26ae428a0909250131k5fb04637ndbe765dce5afcc63@mail.gmail.com> (raw)
In-Reply-To: <vpqhburigfs.fsf@olympe.imag.fr>
>
> If you're confused with "name", then just think about "filename
> holding the key".
>
> If you want to name yourself "howard", then put your key in
> keydir/howard and then use "howard" in the config file. gitosis will
> add the relevant
>
> command="gitosis-server howard" ssh-whatever <your-key-here> <irrelevant-comment>
>
> to the ~git/.ssh/auhtorized_keys file.
>
> You chose your "name" by chosing the filename, then you use this name
> in the config file, and then gitosis does the job.
Ok... so is it completely ignoring the @host bit then? None of my
public key files are called howard@host1.pub (for example).
Just so you don't think I'm completely crazy, I actually use three
different machines for development and (of course) I'm 'howard' on all
of them. I was trying to get my head around the best way to set it up.
I wasn't clear if I could simply recycle the same public key or if I
needed to be three different users in gitosis.
Cheers.... Howard
next prev parent reply other threads:[~2009-09-25 8:31 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
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 [this message]
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=26ae428a0909250131k5fb04637ndbe765dce5afcc63@mail.gmail.com \
--to=howard@e-learndesign.co.uk \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--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 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).