Admin/Phabricator/ssh/sshd_config.phabricator
changeset 70750 07673e7cb5e6
child 70758 5094098f5e0c
equal deleted inserted replaced
70749:5d06b7bb9d22 70750:07673e7cb5e6
       
     1 # NOTE: You must have OpenSSHD 6.2 or newer; support for AuthorizedKeysCommand
       
     2 # was added in this version.
       
     3 
       
     4 # NOTE: Edit these to the correct values for your setup.
       
     5 
       
     6 AuthorizedKeysCommand /usr/local/bin/ssh-hook
       
     7 AuthorizedKeysCommandUser vcs
       
     8 AllowUsers vcs
       
     9 
       
    10 # You may need to tweak these options, but mostly they just turn off everything
       
    11 # dangerous.
       
    12 
       
    13 Port 2222
       
    14 Protocol 2
       
    15 PermitRootLogin no
       
    16 AllowAgentForwarding no
       
    17 AllowTcpForwarding no
       
    18 PrintMotd no
       
    19 PrintLastLog no
       
    20 PasswordAuthentication no
       
    21 ChallengeResponseAuthentication no
       
    22 AuthorizedKeysFile none
       
    23 
       
    24 PidFile /var/run/sshd-phabricator.pid