git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Setting up Password protected repositories?
@ 2006-09-17  0:52 Jon Loeliger
  2006-09-17  1:24 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Loeliger @ 2006-09-17  0:52 UTC (permalink / raw)
  To: git

So at the risk of asking a dead-stupid question for which
I should likely be soundly beaten for even asking...

How does one set up a git repository on a public site
but password/ssh protected it so that only a few trusted
people can access and update it?

Clearly, we should be using ssh+git: here somehow, right?
git-daemon has to know where to server out the files from,
but how do we get it to enforce a ssh-based access?  It's
easy to prevent http: from serving out the repository --
just place it outside of the webroot directory structure.

I can already enforce pushes to be password protected,
but the protection on pulls and clones eludes me.  I'd
also like to NOT grant login shell access on the repository
server machine, so I'm envisioning placing pubic keys from
trusted people somewhere too...

I feel like I am being blindly stupid here.

Any help for the weary?

Thanks,
jdl

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-17 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-17  0:52 Setting up Password protected repositories? Jon Loeliger
2006-09-17  1:24 ` Junio C Hamano
2006-09-17  2:07   ` Jon Loeliger
2006-09-17  2:18     ` Junio C Hamano
2006-09-17  2:20     ` Shawn Pearce
2006-09-17 16:22       ` Jon Loeliger
2006-09-17 16:43         ` J. Bruce Fields

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).