Page MenuHomePhabricator
Authored By
asherkin
Nov 16 2013, 4:08 PM
Size
884 B
Referenced Files
None
Subscribers
None
==> phabricator-ssh-hook.sh <==
#!/bin/sh
###
### WARNING: This feature is new and experimental. Use it at your own risk!
###
ROOT=/var/www/phabricator/phabricator
exec "$ROOT/bin/ssh-auth" $@
==> sshd_config <==
###
### WARNING: This feature is new and experimental. Use it at your own risk!
###
# You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand was
# added in this version.
Port 22
AddressFamily inet
ListenAddress 109.74.196.113
AuthorizedKeysCommand /var/www/phabricator/sshd/phabricator-ssh-hook.sh
AuthorizedKeysCommandUser phabricator
AllowUsers phabricator
# You may need to tweak these options, but mostly they just turn off everything
# dangerous.
Protocol 2
PermitRootLogin no
AllowAgentForwarding no
AllowTcpForwarding no
PrintMotd no
PrintLastLog no
PasswordAuthentication no
AuthorizedKeysFile none
PidFile /var/run/sshd-phabricator.pid

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ou/2p/6vzygh2i6lwikjho
Default Alt Text
file (884 B)

Event Timeline