.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "GIT-SHELL" 1 "" "" "" .SH NAME git-shell \- Restricted login shell for GIT over SSH only .SH "SYNOPSIS" \fIgit\-shell\fR \-c .SH "DESCRIPTION" This is meant to be used as a login shell for SSH accounts you want to restrict to GIT pull/push access only\&. It permits execution only of server\-side GIT commands implementing the pull/push functionality\&. The commands can be executed only by the \fI\-c\fR option; the shell is not interactive\&. Currently, only the git\-receive\-pack and git\-upload\-pack commands are permitted to be called, with a single required argument\&. .SH "AUTHOR" Written by Linus Torvalds .SH "DOCUMENTATION" Documentation by Petr Baudis and the git\-list \&. .SH "GIT" Part of the \fBgit\fR(7) suite