15 lines
300 B
Text
15 lines
300 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# NOTE: Replace this with the username that you expect users to connect with.
|
||
|
VCSUSER="{{ phabricator_vcs_user }}"
|
||
|
|
||
|
# NOTE: Replace this with the path to your Phabricator directory.
|
||
|
ROOT="{{ phabroot }}/phabricator"
|
||
|
|
||
|
if [ "$1" != "$VCSUSER" ];
|
||
|
then
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
exec "$ROOT/bin/ssh-auth" $@
|