blob: cc4266d83b529cd6f3d9446064cde37d89e7ad41 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-shell(1)
2============
3
4NAME
5----
6git-shell - Restricted login shell for GIT over SSH only
7
8
9SYNOPSIS
10--------
Junio C Hamano2bb13102006-03-06 07:10:2111'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
21Currently, only the `git-receive-pack` and `git-upload-pack` commands
22are 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---
34Part of the gitlink:git[7] suite
35