GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ANONGITSSH(1) FreeBSD General Commands Manual ANONGITSSH(1)

anongitssh
restricted shell for git-upload-pack over SSH

anongitssh -c git-upload-pack repodir

The anongitssh utility is a restricted shell which invokes git-upload-pack(1) utility included in the git(1) suite. It is designed 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 prefixes, 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 complete pathname for the repository.

All of the option flags passed from the client and environment variables will be removed. When an invalid access is detected, a predefined message will be sent to the client.

The anongitssh records all of the access via syslog(3) API.

The anongitssh was written by Hiroki Sato <hrs@FreeBSD.org>.
November 26, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.