Page MenuHome GnuPG

phabricator-ssh-hook.sh
No OneTemporary

phabricator-ssh-hook.sh

#!/bin/sh
# NOTE: Replace this with the username that you expect users to connect with.
VCSUSER="vcs-user"
# NOTE: Replace this with the path to your Phabricator directory.
ROOT="/path/to/phabricator"
if [ "$1" != "$VCSUSER" ];
then
exit 1
fi
exec "$ROOT/bin/ssh-auth" $@

File Metadata

Mime Type
text/x-shellscript
Expires
Mon, Dec 29, 7:17 AM (13 h, 33 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1c/44/f8979733fa8c73a5f50a45c5c87f

Event Timeline