1GIT-SHELL(1)                      Git Manual                      GIT-SHELL(1)
2
3
4

NAME

6       git-shell - Restricted login shell for GIT-only SSH access
7

SYNOPSIS

9       $(git --exec-path)/git-shell -c <command> <argument>
10

DESCRIPTION

12       This is meant to be used as a login shell for SSH accounts you want to
13       restrict to GIT pull/push access only. It permits execution only of
14       server-side GIT commands implementing the pull/push functionality. The
15       commands can be executed only by the -c option; the shell is not
16       interactive.
17
18       Currently, only four commands are permitted to be called,
19       git-receive-pack git-upload-pack and git-upload-archive with a single
20       required argument, or cvs server (to invoke git-cvsserver).
21

AUTHOR

23       Written by Linus Torvalds <torvalds@osdl.org[1]>
24

DOCUMENTATION

26       Documentation by Petr Baudis and the git-list <git@vger.kernel.org[2]>.
27

GIT

29       Part of the git(1) suite
30

NOTES

32        1. torvalds@osdl.org
33           mailto:torvalds@osdl.org
34
35        2. git@vger.kernel.org
36           mailto:git@vger.kernel.org
37
38
39
40Git 1.7.1                         08/16/2017                      GIT-SHELL(1)
Impressum