Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-shell(1) |
| 2 | ============ |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 6 | git-shell - Restricted login shell for GIT-only SSH access |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 11 | '$(git --exec-path)/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 | |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 21 | Currently, only the 'git-receive-pack' and 'git-upload-pack' commands |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 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 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 34 | Part of the linkgit:git[1] suite |