Advertisement
alfaisalvpn

sshd

Dec 6th, 2020
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. Port 22
  2. Port 225
  3. ListenAddress 0.0.0.0
  4. Protocol 2
  5. HostKey /etc/ssh/ssh_host_rsa_key
  6. HostKey /etc/ssh/ssh_host_dsa_key
  7. HostKey /etc/ssh/ssh_host_ecdsa_key
  8. #HostKey /etc/ssh/ssh_host_ed25519_key
  9. #KeyRegenerationInterval 3600
  10. ServerKeyBits 1024
  11. SyslogFacility AUTH
  12. LogLevel INFO
  13. PermitRootLogin yes
  14. StrictModes yes
  15. #RSAAuthentication yes
  16. PubkeyAuthentication yes
  17. IgnoreRhosts yes
  18. #RhostsRSAAuthentication no
  19. HostbasedAuthentication no
  20. PermitEmptyPasswords no
  21. ChallengeResponseAuthentication no
  22. PasswordAuthentication yes
  23. X11Forwarding yes
  24. X11DisplayOffset 10
  25. GatewayPorts yes
  26. PrintMotd no
  27. PrintLastLog yes
  28. AcceptEnv LANG LC_*
  29. Subsystem sftp /usr/lib/openssh/sftp-server
  30. UsePAM yes
  31. #Banner /etc/banner
  32. TCPKeepAlive yes
  33. ClientAliveInterval 240
  34. ClientAliveCountMax 2
  35. UseDNS no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement