All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: "Neshama Parhoti" <pneshama@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: User Authentication ?
Date: Sat, 11 Oct 2008 11:28:29 -0700 (PDT)	[thread overview]
Message-ID: <m3y70vj8ag.fsf@localhost.localdomain> (raw)
In-Reply-To: <912ec82a0810110941t33343fe1mfe1bce58739f79fa@mail.gmail.com>

"Neshama Parhoti" <pneshama@gmail.com> writes:

> I want to setup a git server on the web but I need user
> authentication.
> 
> From what I understand, currently git-daemon does not support
> authentication.

The purpose of git-daemon is to allow fast (and bandwidth-saving)
anonymous read-only (fetch) access to git repositories.  The ability
to push via git-daemon was added later, and is turned off by default
because it should be used only in special situation.

> Is there any way to achieve that ?

The reason behind git-daemon not supporting authentication is that
re-implementing authentication poorly is a bad idea.

If you need authentication there is SSH that provides authentication
(for ssh:// protocol), or WebDAV (for HTTP push protocol). Perhaps
also future "smart" HTTP server would support some kind of
authentification...

> I really don't want to give ssh logins for people who I just want to
> be able to access my repository...

First, you can always set git-shell as shell for those git only
accounts. Second, you can set up Gitosis, which IIRC needs only single
account, and handles authentication by itself; I have heard also of
ssh_acl in this context...

I don't know if there is some other equivalent of Gitosis...

HTH
-- 
Jakub Narebski
Poland
ShadeHawk on #git

  reply	other threads:[~2008-10-11 18:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 16:41 User Authentication ? Neshama Parhoti
2008-10-11 18:28 ` Jakub Narebski [this message]
2008-10-13  8:09   ` Neshama Parhoti
2008-10-13  8:23     ` Jakub Narebski

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=m3y70vj8ag.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pneshama@gmail.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 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.