blob: ff420f8f8c52eb598976a134916000da9b8f3976 [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 Hamanoba4b9282008-07-06 05:20:3121Currently, only the 'git-receive-pack' and 'git-upload-pack' commands
Junio C Hamano1a4e8412005-12-27 08:17:2322are permitted to be called, with a single required argument.
23
24Author
25------
26Written by Linus Torvalds <torvalds@osdl.org>
27
28Documentation
29--------------
30Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
31
32GIT
33---
Junio C Hamanof7c042d2008-06-06 22:50:5334Part of the linkgit:git[1] suite