Saltstack Official OpenSSH Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 line
720B

  1. sshd_config:
  2. Port: 22
  3. Protocol: 2
  4. HostKey:
  5. - /etc/ssh/ssh_host_rsa_key
  6. - /etc/ssh/ssh_host_dsa_key
  7. - /etc/ssh/ssh_host_ecdsa_key
  8. UsePrivilegeSeparation: yes
  9. KeyRegenerationInterval: 3600
  10. ServerKeyBits: 768
  11. SyslogFacility: AUTH
  12. LogLevel: INFO
  13. LoginGraceTime: 120
  14. PermitRootLogin: yes
  15. StrictModes: yes
  16. RSAAuthentication: yes
  17. PubkeyAuthentication: yes
  18. IgnoreRhosts: yes
  19. RhostsRSAAuthentication: no
  20. HostbasedAuthentication: no
  21. PermitEmptyPasswords: no
  22. ChallengeResponseAuthentication: no
  23. X11Forwarding: yes
  24. X11DisplayOffset: 10
  25. PrintMotd: no
  26. PrintLastLog: yes
  27. TCPKeepAlive: yes
  28. AcceptEnv: "LANG LC_*"
  29. Subsystem: "sftp /usr/lib/openssh/sftp-server"
  30. UsePAM: yes