From: Junio C Hamano Date: Sun, 17 Sep 2006 01:24:45 GMT Subject: Re: Setting up Password protected repositories? Message-ID: <7virjn8eua.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Jon Loeliger 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?