Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F82471
file
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
asherkin
Nov 16 2013, 4:08 PM
2013-11-16 16:08:37 (UTC+0)
Size
884 B
Referenced Files
None
Subscribers
None
file
View Options
==> 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
Details
Attached
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)
Attached To
Mode
P992 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment