|HG-SSH(8)||System Manager's Manual||HG-SSH(8)|
NAME¶hg-ssh - restricted ssh login shell for Mercurial
DESCRIPTION¶hg-ssh can be used as a restricted shell where access to Mercurial repositories is given over ssh(1). It should be specified, together with the paths to the repositories the user should be given access to, as a command option in an authorized_keys(5) file.
An example authorized_keys line using hg-ssh:
The user with the specified key would then be permitted to push and pull to the repositories using the URLs:
SEE ALSO¶sshd(8), ssh(1), hg(1).