Advertisement
Guest User

Untitled

a guest
May 11th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. ~ $ grep -v "^#" /etc/ssh/sshd_config | grep -v "^$"
  2. Port 22
  3. AddressFamily inet
  4. Protocol 2
  5. HostKey /etc/ssh/ssh_host_rsa_key
  6. HostKey /etc/ssh/ssh_host_dsa_key
  7. UsePrivilegeSeparation yes
  8. KeyRegenerationInterval 3600
  9. ServerKeyBits 768
  10. SyslogFacility AUTH
  11. LogLevel INFO
  12. LoginGraceTime 120
  13. PermitRootLogin no
  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. AllowUsers *@127.0.0.1 *@10.0.0.0/8 *@172.16.0.0/12 *@192.168.0.0/16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement