sshd_config 419 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_key
  8. HostKey /data/ssh/ssh_host_rsa_key
  9. HostKey /data/ssh/ssh_host_dsa_key
  10. HostKey /data/ssh/ssh_host_ecdsa_key
  11. HostKey /data/ssh/ssh_host_ed25519_key
  12. PermitRootLogin no
  13. AuthorizedKeysFile .ssh/authorized_keys
  14. PasswordAuthentication no
  15. UsePrivilegeSeparation no
  16. PermitUserEnvironment yes
  17. AllowUsers git