From: "Shawn O. Pearce" <spearce@spearce.org>
To: Jakub Narebski <jnareb@gmail.com>
Cc: m.arya@yahoo.com, git@vger.kernel.org
Subject: Re: Few Questions
Date: Tue, 20 Jan 2009 08:04:10 -0800 [thread overview]
Message-ID: <20090120160410.GI14053@spearce.org> (raw)
In-Reply-To: <m3r62yx9qi.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> wrote:
> "Arya, Manish Kumar" <m.arya@yahoo.com> writes:
> >
> > I want to have following with Git
> >
> > - LDAP and ssh authentication.
> >
>
> Instead of inventing (and failing) its own protocol and its own
> authentication git uses established solutions for authentication: SSH
> for "smart" server, and WebDAV for push via (currently only "dumb")
> HTTPS protocol.
>
> There exist solutions that help with setting up SSH for git:
> git-shell, ssh_acl, and I think most commonly used Gitosis (see
> seminal reference about Gitosis on http://git.or.cz/gitwiki/BlogPosts).
Yup. Gitosis is very popular for this.
At my last job I rolled my own Gitosis-lite, but in Perl, because
they are a Perl based shop. It also uses the update-paranoid hook
for access controls, as its more flexible (and easier to confuse
the heck out of yourself) than Gitosis. But if you can get along
with Gitosis, its a good choice. Unfortunately its authentication
is limited to public keys registered in the authorized keys file
of the "git" user.
<plug type="not-quite-ready-but-will-be-soon">
Gerrit2 is also likely to enter this "market" soon. I'm trying to
get it production ready and live for one major project before the
end of this month. It embeds its own SSH daemon on a non-standard
port, completely disconnected from the OS authentication. This may
make it slightly more palatable in some enviroments then Gitosis,
as you don't need a huge authorized_keys file, and you don't have
to worry quite so much about attack vectors.
Unlike with Gitosis, public key management is placed on end-users
by using web authentication to identify the user, and letting the
user manage their own "authorized key list". It also has a full
blown web based code review system built in. Which right now a
project must use if it is hosted by Gerrit2. :-)
</plug>
--
Shawn.
next prev parent reply other threads:[~2009-01-20 16:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 10:38 Few Questions Arya, Manish Kumar
2009-01-20 11:04 ` Matthieu Moy
2009-01-20 15:44 ` Jakub Narebski
2009-01-20 16:04 ` Shawn O. Pearce [this message]
2009-01-21 11:08 ` R. Tyler Ballance
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=20090120160410.GI14053@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
--cc=m.arya@yahoo.com \
/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).