Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1807
phabricator-ssh-hook
Active
Public
Actions
Authored by
joshuaspence
on Jun 17 2015, 9:15 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Diffusion
Referenced Files
F510495: phabricator-ssh-hook
Jun 17 2015, 9:15 PM
2015-06-17 21:15:59 (UTC+0)
Subscribers
None
#!/bin/sh
if
[
"
$1
"
==
"vagrant"
]
;
then
cat ~vagrant/.ssh/authorized_keys
elif
[
"
$1
"
!
=
"vcs"
]
;
then
exit
1
fi
exec
/usr/src/phabricator/bin/ssh-auth
$@
Event Timeline
joshuaspence
edited the content of this paste.
(Show Details)
Jun 17 2015, 9:15 PM
2015-06-17 21:15:59 (UTC+0)
joshuaspence
changed the title of this paste from untitled to
phabricator-ssh-hook
.
joshuaspence
updated the paste's language from
autodetect
to
bash
.
joshuaspence
added a project:
Diffusion
.
Log In to Comment