1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
\r
4 <article lang="en" id="git-shell(1)">
\r
6 <title>git-shell(1)</title>
\r
8 <primary>git-shell(1)</primary>
\r
11 <simplesect id="_name">
\r
13 <simpara>git-shell - Restricted login shell for GIT-only SSH access</simpara>
\r
15 <simplesect id="_synopsis">
\r
16 <title>SYNOPSIS</title>
\r
17 <simpara><emphasis>$(git --exec-path)/git-shell</emphasis> -c <command> <argument></simpara>
\r
19 <simplesect id="_description">
\r
20 <title>DESCRIPTION</title>
\r
21 <simpara>This is meant to be used as a login shell for SSH accounts you want
\r
22 to restrict to GIT pull/push access only. It permits execution only
\r
23 of server-side GIT commands implementing the pull/push functionality.
\r
24 The commands can be executed only by the <emphasis>-c</emphasis> option; the shell is not
\r
25 interactive.</simpara>
\r
26 <simpara>Currently, only three commands are permitted to be called, <emphasis>git-receive-pack</emphasis>
\r
27 <emphasis>git-upload-pack</emphasis> with a single required argument or <emphasis>cvs server</emphasis> (to invoke
\r
28 <emphasis>git-cvsserver</emphasis>).</simpara>
\r
30 <simplesect id="_author">
\r
31 <title>Author</title>
\r
32 <simpara>Written by Linus Torvalds <<ulink url="mailto:torvalds@osdl.org">torvalds@osdl.org</ulink>></simpara>
\r
34 <simplesect id="_documentation">
\r
35 <title>Documentation</title>
\r
36 <simpara>Documentation by Petr Baudis and the git-list <<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>>.</simpara>
\r
38 <simplesect id="_git">
\r
40 <simpara>Part of the <xref linkend="git(1)"/> suite</simpara>
\r