Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-shell(1) |
| 2 | ============ |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | git-shell - Restricted login shell for GIT over SSH only |
| 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | 2bb1310 | 2006-03-06 07:10:21 | [diff] [blame] | 11 | 'git-shell' -c <command> <argument> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 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 |
| 19 | interactive. |
| 20 | |
| 21 | Currently, only the `git-receive-pack` and `git-upload-pack` commands |
| 22 | are permitted to be called, with a single required argument. |
| 23 | |
| 24 | Author |
| 25 | ------ |
| 26 | Written by Linus Torvalds <torvalds@osdl.org> |
| 27 | |
| 28 | Documentation |
| 29 | -------------- |
| 30 | Documentation by Petr Baudis and the git-list <git@vger.kernel.org>. |
| 31 | |
| 32 | GIT |
| 33 | --- |
| 34 | Part of the gitlink:git[7] suite |
| 35 | |