2
0

sshd_config 362 B

123456789101112131415
  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. PermitUserEnvironment yes
  15. AllowUsers git