blob: 0f3ad811cfa41e65a3d807a5eb766ce2a66a7831 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-shell(1)
2============
3
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506git-shell - Restricted login shell for GIT-only SSH access
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamanofce7c7e2008-07-02 03:06:3811'$(git --exec-path)/git-shell' -c <command> <argument>
Junio C Hamano1a4e8412005-12-27 08:17:2312
13DESCRIPTION
14-----------
15This is meant to be used as a login shell for SSH accounts you want
16to restrict to GIT pull/push access only. It permits execution only
17of server-side GIT commands implementing the pull/push functionality.
18The commands can be executed only by the '-c' option; the shell is not
19interactive.
20
Junio C Hamano3bd66e92009-04-18 06:17:5621Currently, 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').
Junio C Hamano1a4e8412005-12-27 08:17:2324
25Author
26------
27Written by Linus Torvalds <torvalds@osdl.org>
28
29Documentation
30--------------
31Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
32
33GIT
34---
Junio C Hamanof7c042d2008-06-06 22:50:5335Part of the linkgit:git[1] suite