Admin/Phabricator/ssh/ssh-hook
author wenzelm
Mon, 04 Nov 2019 15:15:56 +0100
changeset 71021 b697dd74221a
parent 70750 07673e7cb5e6
permissions -rwxr-xr-x
tuned;

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