6 git-shell - Restricted login shell for GIT-only SSH access
11 '$(git --exec-path)/git-shell' -c <command> <argument>
15 This is meant to be used as a login shell for SSH accounts you want
16 to restrict to GIT pull/push access only. It permits execution only
17 of server-side GIT commands implementing the pull/push functionality.
18 The commands can be executed only by the '-c' option; the shell is not
21 Currently, only four commands are permitted to be called, 'git-receive-pack'
22 'git-upload-pack' and 'git-upload-archive' with a single required argument, or
23 'cvs server' (to invoke 'git-cvsserver').
27 Written by Linus Torvalds <torvalds@osdl.org>
31 Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
35 Part of the linkgit:git[1] suite