first pass at phabricator role, updating qadevel-stg for phab
This commit is contained in:
parent
7573106e07
commit
a37007fa4c
14 changed files with 2067 additions and 1 deletions
22
roles/phabricator/templates/phabricator-sshd.conf.j2
Normal file
22
roles/phabricator/templates/phabricator-sshd.conf.j2
Normal file
|
@ -0,0 +1,22 @@
|
|||
# NOTE: You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand
|
||||
# was added in this version.
|
||||
|
||||
# NOTE: Edit these to the correct values for your setup.
|
||||
|
||||
AuthorizedKeysCommand /etc/phabricator-ssh-hook.sh
|
||||
AuthorizedKeysCommandUser {{ phabricator_vcs_user }}
|
||||
|
||||
# You may need to tweak these options, but mostly they just turn off everything
|
||||
# dangerous.
|
||||
|
||||
Port 22
|
||||
Protocol 2
|
||||
PermitRootLogin no
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
PrintMotd no
|
||||
PrintLastLog no
|
||||
PasswordAuthentication no
|
||||
AuthorizedKeysFile none
|
||||
|
||||
PidFile /var/run/sshd-phabricator.pid
|
Loading…
Add table
Add a link
Reference in a new issue