Admin/Phabricator/ssh/ssh-hook
author wenzelm
Tue, 24 Sep 2019 16:17:37 +0200
changeset 70750 07673e7cb5e6
permissions -rwxr-xr-x
some information about Phabricator server setup;

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