Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65072863
phabricator-ssh-hook.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 31, 14:17
Size
278 B
Mime Type
text/x-shellscript
Expires
Sun, Jun 2, 14:17 (2 d)
Engine
blob
Format
Raw Data
Handle
17999108
Attached To
rPH Phabricator
phabricator-ssh-hook.sh
View Options
#!/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" $@
Event Timeline
Log In to Comment