From: Jon Loeliger <jdl@jdl.com>
To: git@vger.kernel.org
Subject: Setting up Password protected repositories?
Date: Sat, 16 Sep 2006 19:52:53 -0500 [thread overview]
Message-ID: <E1GOktx-0005JY-ER@jdl.com> (raw)
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
next reply other threads:[~2006-09-17 0:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-17 0:52 Jon Loeliger [this message]
2006-09-17 1:24 ` Setting up Password protected repositories? 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
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=E1GOktx-0005JY-ER@jdl.com \
--to=jdl@jdl.com \
--cc=git@vger.kernel.org \
/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.