Admin/Phabricator/ssh/ssh-hook
author wenzelm
Thu, 17 Oct 2019 21:03:59 +0200
changeset 70896 8017d382a0d7
parent 70750 07673e7cb5e6
permissions -rwxr-xr-x
tuned signature;

#!/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" $@