repo.or.cz
/
phabricator
/
blender.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a basic "harbormaster.step.edit" API method
[phabricator/blender.git]
/
resources
/
sshd
/
phabricator-ssh-hook.sh
blob
fc7de81dad288dcfd3736891059bb36329952a31
1
#!/bin/sh
2
3
# NOTE: Replace this with the username that you expect users to connect with.
4
VCSUSER
=
"vcs-user"
5
6
# NOTE: Replace this with the path to your Phabricator directory.
7
ROOT
=
"/path/to/phabricator"
8
9
if
[
"
$1
"
!=
"
$VCSUSER
"
];
10
then
11
exit
1
12
fi
13
14
exec
"
$ROOT
/bin/ssh-auth"
$@