2 .\" Copyright (c) 2022 Stefan Sperling
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 .Nd Game of Trees Shell
23 .Nm Fl c Sq Cm git-receive-pack Ar repository-path
24 .Nm Fl c Sq Cm git-upload-pack Ar repository-path
27 is the network-facing interface to
29 It implements the server-side part of the Git network protocol used by
35 is not an interactive shell.
37 is intended to be configured as the login shell of Git repository
38 user accounts on servers running
40 If users require a different login shell,
42 can be installed in the command search path under the names
47 The users can then interact with
50 When users invoke commands such as
56 will connect to the server with
59 will facilitate communication between
61 running on the server machine and the
65 program running on the client machine.
69 should not have access to Git repositories by means other than
70 accessing the unix socket of
75 It is recommended to restrict
77 features available to users of
83 .Bl -tag -width GOTD_UNIX_SOCKET
84 .It Ev GOTD_UNIX_SOCKET
85 Set the path to the unix socket which
88 If not specified, the default path
89 .Pa /var/run/gotd.sock
94 directives such as the following are recommended to protect the server
95 machine and any systems reachable from it, especially if anonymous users
96 are allowed to connect:
97 .Bd -literal -offset indent
103 It can be convenient to add all relevant users to a common group, such as
105 and then use this group as the Match criteria:
106 .Bd -literal -offset indent
107 Match Group developers
108 DisableForwarding yes
118 .An Stefan Sperling Aq Mt stsp@openbsd.org