sshd_config 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_rsa_key
  10. HostKey @l_prefix@/etc/openssh/ssh_host_dsa_key
  11. ServerKeyBits 768
  12. KeyRegenerationInterval 1h
  13. PidFile @l_prefix@/var/openssh/openssh.pid
  14. SyslogFacility AUTH
  15. LogLevel INFO
  16. PubkeyAuthentication yes
  17. RSAAuthentication yes
  18. PasswordAuthentication yes
  19. HostbasedAuthentication no
  20. RhostsRSAAuthentication no
  21. StrictModes yes
  22. IgnoreRhosts yes
  23. KeepAlive yes
  24. GatewayPorts no
  25. AllowTcpForwarding yes
  26. X11Forwarding @l_x11forwarding@
  27. Compression yes
  28. UsePrivilegeSeparation no
  29. LoginGraceTime 2m
  30. MaxStartups 10:30:60
  31. PermitRootLogin no
  32. PermitEmptyPasswords no
  33. UseLogin no
  34. UseDNS yes
  35. PrintMotd yes
  36. PrintLastLog yes
  37. PermitUserEnvironment yes