Admin/Phabricator/ssh/sshd_config.phabricator
changeset 71110 070a9b62f44a
parent 71109 8c1c717a830b
child 71111 cd166c3904dd
equal deleted inserted replaced
71109:8c1c717a830b 71110:070a9b62f44a
     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 22
       
    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