2005-10-25 21:43:30 +00:00
|
|
|
git-shell(1)
|
|
|
|
============
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2010-08-24 05:36:51 +00:00
|
|
|
git-shell - Restricted login shell for Git-only SSH access
|
2005-10-25 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 02:38:26 +00:00
|
|
|
[verse]
|
2010-08-24 05:36:51 +00:00
|
|
|
'git shell' [-c <command> <argument>]
|
2005-10-25 21:43:30 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2010-08-24 05:36:51 +00:00
|
|
|
|
|
|
|
A login shell for SSH accounts to provide restricted Git access. When
|
|
|
|
'-c' is given, the program executes <command> non-interactively;
|
|
|
|
<command> can be one of 'git receive-pack', 'git upload-pack', 'git
|
|
|
|
upload-archive', 'cvs server', or a command in COMMAND_DIR. The shell
|
|
|
|
is started in interactive mode when no arguments are given; in this
|
|
|
|
case, COMMAND_DIR must exist, and any of the executables in it can be
|
|
|
|
invoked.
|
|
|
|
|
|
|
|
'cvs server' is a special command which executes git-cvsserver.
|
|
|
|
|
|
|
|
COMMAND_DIR is the path "$HOME/git-shell-commands". The user must have
|
|
|
|
read and execute permissions to the directory in order to execute the
|
|
|
|
programs in it. The programs are executed with a cwd of $HOME, and
|
|
|
|
<argument> is parsed as a command-line string.
|
2005-10-25 21:43:30 +00:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 07:07:32 +00:00
|
|
|
Part of the linkgit:git[1] suite
|