Re: Setting up Password protected repositories?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 17, 2006, 01:24 UTC
- Message-ID
- <7virjn8eua.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <E1GOktx-0005JY-ER@jdl.com>
Jon Loeliger <jdl@jdl.com> writes:
> 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.
It all depends on how you start git-daemon, but the last parameters to git-daemon are path whitelist so presumably placing the private repository outside of it should be enough.
Or am I missing something deeper?