Page MenuHomePhabricator
Paste P1807

phabricator-ssh-hook
ActivePublic

Authored by joshuaspence on Jun 17 2015, 9:15 PM.
Referenced Files
F510495: phabricator-ssh-hook
Jun 17 2015, 9:15 PM
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 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.