FreeBSD Manual Pages
ANONGITSSH(1) General Commands Manual ANONGITSSH(1) NAME anongitssh -- restricted shell for git-upload-pack over SSH SYNOPSIS anongitssh -c git-upload-pack repodir DESCRIPTION The anongitssh utility is a restricted shell which invokes git-upload-pack(1) utility included in the git(1) suite. It is de- signed to be a non-interactive login shell of a user on the system which accepts read-only remote access via SSH protocol. The anongitssh has a database of login names, git(1) repository pre- fixes, and chroot(8) directories which is configurable at compile time. When the anongitssh is invoked as a login shell, it will check validity of the login name and the uid using the database, do chroot(8) to the directory specified in the database, prepend a prefix to the pathname specified in repodir, and finally invoke git-upload-pack with the com- plete pathname for the repository. All of the option flags passed from the client and environment vari- ables will be removed. When an invalid access is detected, a prede- fined message will be sent to the client. LOGGING The anongitssh records all of the access via syslog(3) API. AUTHORS The anongitssh was written by Hiroki Sato <hrs@FreeBSD.org>. FreeBSD ports 15.0 November 26, 2020 ANONGITSSH(1)
NAME | SYNOPSIS | DESCRIPTION | LOGGING | AUTHORS
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=anongitssh&sektion=1&manpath=FreeBSD+Ports+15.0>
