Jon Loeliger [off-list ref] 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?