Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. ~# cat /etc/ssh/sshd_config
  2. Port 22
  3. Protocol 2
  4. HostKey /etc/ssh/ssh_host_rsa_key
  5. HostKey /etc/ssh/ssh_host_dsa_key
  6. UsePrivilegeSeparation yes
  7. KeyRegenerationInterval 3600
  8. ServerKeyBits 768
  9. SyslogFacility AUTH
  10. LogLevel INFO
  11. LoginGraceTime 120
  12. PermitRootLogin yes
  13. StrictModes yes
  14. RSAAuthentication yes
  15. PubkeyAuthentication yes
  16. AuthorizedKeysFile %h/.ssh/authorized_keys
  17. IgnoreRhosts yes
  18. RhostsRSAAuthentication yes
  19. HostbasedAuthentication yes
  20. IgnoreUserKnownHosts yes
  21. PermitEmptyPasswords no
  22. ChallengeResponseAuthentication yes
  23. PasswordAuthentication yes
  24. X11Forwarding yes
  25. X11DisplayOffset 10
  26. PrintMotd no
  27. PrintLastLog yes
  28. TCPKeepAlive yes
  29. AcceptEnv LANG LC_*
  30. Subsystem sftp /usr/lib/openssh/sftp-server
  31. UsePAM yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement