root@gn61:/opt/phabricator# dir -1
arcanist
kaustas
libphutil
phabricator
phabricator-ssh-hook.sh
updater.on.phabricator.scripts.install
root@gn61:/opt/phabricator# cat phabricator-ssh-hook.sh
#!/bin/sh
# NOTE: Replace this with the username that you expect users to connect with.
VCSUSER="repo-hg"
# NOTE: Replace this with the path to your Phabricator directory.
ROOT="/opt/phabricator/phabricator"
if [ "$1" != "$VCSUSER" ];
then
exit 1
fi
exec "$ROOT/bin/ssh-auth" $@
root@gn61:/opt/phabricator#