sshd_config 931 B

12345678910111213141516171819202122232425262728293031
  1. Port 22
  2. Protocol 2
  3. KeyRegenerationInterval 3600
  4. ServerKeyBits 1024
  5. SyslogFacility AUTH
  6. LogLevel INFO
  7. LoginGraceTime 120
  8. PermitRootLogin yes
  9. StrictModes yes
  10. RSAAuthentication yes
  11. PubkeyAuthentication yes
  12. IgnoreRhosts yes
  13. RhostsRSAAuthentication no
  14. HostbasedAuthentication no
  15. PermitEmptyPasswords no
  16. ChallengeResponseAuthentication no
  17. X11Forwarding yes
  18. X11DisplayOffset 10
  19. PrintMotd no
  20. PrintLastLog yes
  21. TCPKeepAlive yes
  22. #UseLogin no
  23. AcceptEnv LANG LC_*
  24. Subsystem sftp /usr/lib/openssh/sftp-server
  25. MaxAuthTries 3
  26. UsePAM yes
  27. DenyUsers lxd, systemd-coredump
  28. #KexAlgorithms curve25519-sha256@libssh.org
  29. kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1
  30. Banner /root/hendrix.txt