sshd_config 388 B

1234567891011121314151617
  1. Port 22
  2. AddressFamily any
  3. ListenAddress 0.0.0.0
  4. ListenAddress ::
  5. Protocol 2
  6. LogLevel INFO
  7. HostKey /data/ssh/ssh_host_rsa_key
  8. HostKey /data/ssh/ssh_host_dsa_key
  9. HostKey /data/ssh/ssh_host_ecdsa_key
  10. HostKey /data/ssh/ssh_host_ed25519_key
  11. PermitRootLogin no
  12. AuthorizedKeysFile .ssh/authorized_keys
  13. PasswordAuthentication no
  14. UsePrivilegeSeparation no
  15. PermitUserEnvironment yes
  16. AllowUsers git