Advertisement
Guest User

sshd_config

a guest
Apr 14th, 2018
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. Port 1234
  2. Protocol 2
  3. HostKey /etc/ssh/ssh_host_rsa_key
  4. HostKey /etc/ssh/ssh_host_dsa_key
  5. HostKey /etc/ssh/ssh_host_ecdsa_key
  6. HostKey /etc/ssh/ssh_host_ed25519_key
  7. UsePrivilegeSeparation yes
  8. KeyRegenerationInterval 3600
  9. ServerKeyBits 1024
  10. SyslogFacility AUTH
  11. LogLevel INFO
  12. LoginGraceTime 120
  13. PermitRootLogin prohibit-password
  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. X11Forwarding yes
  23. X11DisplayOffset 10
  24. PrintMotd no
  25. PrintLastLog yes
  26. TCPKeepAlive yes
  27. AcceptEnv LANG LC_*
  28. Subsystem sftp /usr/lib/openssh/sftp-server
  29. UsePAM yes
  30.  
  31. ##SSDH_CONFIG WITHOUT USELESS LINES EXCEPT THIS ONE##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement