You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sshd_config 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Port ${SSH_LISTEN_PORT}
  2. Protocol 2
  3. AddressFamily any
  4. ListenAddress 0.0.0.0
  5. ListenAddress ::
  6. LogLevel INFO
  7. HostKey /data/ssh/ssh_host_ed25519_key
  8. HostCertificate /data/ssh/ssh_host_ed25519_cert
  9. HostKey /data/ssh/ssh_host_rsa_key
  10. HostCertificate /data/ssh/ssh_host_rsa_cert
  11. HostKey /data/ssh/ssh_host_ecdsa_key
  12. HostCertificate /data/ssh/ssh_host_ecdsa_cert
  13. HostKey /data/ssh/ssh_host_dsa_key
  14. HostCertificate /data/ssh/ssh_host_dsa_cert
  15. AuthorizedKeysFile .ssh/authorized_keys
  16. AuthorizedPrincipalsFile .ssh/authorized_principals
  17. TrustedUserCAKeys /data/git/.ssh/gitea-trusted-user-ca-keys.pem
  18. CASignatureAlgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
  19. UseDNS no
  20. AllowAgentForwarding no
  21. AllowTcpForwarding no
  22. PrintMotd no
  23. PermitUserEnvironment yes
  24. PermitRootLogin no
  25. ChallengeResponseAuthentication no
  26. PasswordAuthentication no
  27. PermitEmptyPasswords no
  28. AllowUsers ${USER}
  29. Banner none
  30. Subsystem sftp /usr/lib/ssh/sftp-server
  31. AcceptEnv GIT_PROTOCOL