changeset 70750 | 07673e7cb5e6 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/Phabricator/ssh/ssh-hook Tue Sep 24 16:17:37 2019 +0200 @@ -0,0 +1,14 @@ +#!/bin/sh + +# NOTE: Replace this with the username that you expect users to connect with. +VCSUSER="vcs" + +# NOTE: Replace this with the path to your Phabricator directory. +ROOT="/var/www/phabricator/phabricator" + +if [ "$1" != "$VCSUSER" ]; +then + exit 1 +fi + +exec "$ROOT/bin/ssh-auth" $@