* User Authentication ?
@ 2008-10-11 16:41 Neshama Parhoti
2008-10-11 18:28 ` Jakub Narebski
0 siblings, 1 reply; 4+ messages in thread
From: Neshama Parhoti @ 2008-10-11 16:41 UTC (permalink / raw)
To: git
Hi All,
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.
Is there any way to achieve that ?
I really don't want to give ssh logins for people who I just want to
be able to access my repository...
Thank you,
Pnesh.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: User Authentication ?
2008-10-11 16:41 User Authentication ? Neshama Parhoti
@ 2008-10-11 18:28 ` Jakub Narebski
2008-10-13 8:09 ` Neshama Parhoti
0 siblings, 1 reply; 4+ messages in thread
From: Jakub Narebski @ 2008-10-11 18:28 UTC (permalink / raw)
To: Neshama Parhoti; +Cc: git
"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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: User Authentication ?
2008-10-11 18:28 ` Jakub Narebski
@ 2008-10-13 8:09 ` Neshama Parhoti
2008-10-13 8:23 ` Jakub Narebski
0 siblings, 1 reply; 4+ messages in thread
From: Neshama Parhoti @ 2008-10-13 8:09 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
Hi,
On Sat, Oct 11, 2008 at 8:28 PM, Jakub Narebski <jnareb@gmail.com> wrote:
> "Neshama Parhoti" <pneshama@gmail.com> writes:
>
>> I want to setup a git server on the web but I need user
>> authentication.
>> 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.
Thank you ! That should really be good. Any chance you are aware of
documentation
or further guidance about how to set this up ?
thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: User Authentication ?
2008-10-13 8:09 ` Neshama Parhoti
@ 2008-10-13 8:23 ` Jakub Narebski
0 siblings, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2008-10-13 8:23 UTC (permalink / raw)
To: Neshama Parhoti; +Cc: git
Neshama Parhoti wrote:
> On Sat, Oct 11, 2008 at 8:28 PM, Jakub Narebski <jnareb@gmail.com> wrote:
>> "Neshama Parhoti" <pneshama@gmail.com> writes:
>>
>>> I want to setup a git server on the web but I need user
>>> authentication.
>>> 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. [...]
>
> Thank you ! That should really be good. Any chance you are aware of
> documentation or further guidance about how to set this up ?
I have never had the need, but for Gitosis the seminal reference is
I think
"Hosting Git repositories, The Easy (and Secure) Way"
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
--
Jakub Narebski
Poland
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-13 8:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-11 16:41 User Authentication ? Neshama Parhoti
2008-10-11 18:28 ` Jakub Narebski
2008-10-13 8:09 ` Neshama Parhoti
2008-10-13 8:23 ` Jakub Narebski
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).