From: Linus Torvalds Date: Sun, 23 Oct 2005 00:42:10 GMT Subject: Re: Server side programs Message-ID: In-Reply-To: <435ABB99.5020908@op5.se> On Sun, 23 Oct 2005, Andreas Ericsson wrote: > > Are git-receive-pack and git-upload-pack the only two binaries that get called > directly over a SSH-tunnel? With the normal pack thing, yes. They will exec other programs (mainly git-rev-list and git-[un]pack-objects), and a client can ask for other programs (git-send-pack takes an "--exec=" argument, for example), but those two should be sufficient if you have a server-side special "restricted shell" that you want to run instead of a real one. One more issue: you can't create a new archive or delete an old one (or do administration like repacking, fsck etc) with those interfaces, so if you want these limited users to be able to do that, then you'd need to add a few administration commands too. Linus