sshd_config 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ##
  2. ## sshd_config -- OpenSSH Daemon Configuration
  3. ##
  4. Port 22
  5. ListenAddress 127.0.0.1
  6. Subsystem sftp @l_prefix@/libexec/openssh/sftp-server
  7. Protocol 2,1
  8. HostKey @l_prefix@/etc/openssh/ssh_host_key
  9. HostKey @l_prefix@/etc/openssh/ssh_host_dsa_key
  10. ServerKeyBits 768
  11. KeyRegenerationInterval 3600
  12. PidFile @l_prefix@/var/openssh/sshd.pid
  13. SyslogFacility AUTH
  14. LogLevel INFO
  15. PubkeyAuthentication yes
  16. RSAAuthentication yes
  17. PasswordAuthentication yes
  18. RhostsAuthentication no
  19. RhostsRSAAuthentication no
  20. StrictModes yes
  21. IgnoreRhosts yes
  22. KeepAlive yes
  23. GatewayPorts no
  24. X11Forwarding @l_x11forwarding@
  25. Compression yes
  26. UsePrivilegeSeparation no
  27. LoginGraceTime 600
  28. MaxStartups 10:30:60
  29. PermitRootLogin no
  30. PermitEmptyPasswords no
  31. UseLogin no
  32. PrintMotd yes
  33. PermitUserEnvironment yes