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.