Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18794615
phabricator-ssh-hook.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
278 B
Referenced Files
None
Subscribers
None
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"
$@
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Oct 19, 12:05 AM (21 h, 59 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8178961
Default Alt Text
phabricator-ssh-hook.sh (278 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment