mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-03 00:55:13 +02:00
Adding a small variable to the OpenSSH sshd_config file so that the service will work correctly on Centos 6.4 and earlier
This commit is contained in:
1 parent
d35929876f
commit
2e229681c7
2 files changed
+5
No files matched your search
@@ -102,7 +102,11 @@ PrintMotd no # pam does that
|
||||
#PrintLastLog yes
|
||||
#TCPKeepAlive yes
|
||||
#UseLogin no
|
||||
{% if grains['os_family'] == 'RedHat' %}
|
||||
UsePrivilegeSeparation yes # RedHat/Centos 6.4 and earlier currently ship 5.3 (sandbox introduced in OpenSSH 5.9)
|
||||
{% else %}
|
||||
UsePrivilegeSeparation sandbox # Default for new installations.
|
||||
{% endif %}
|
||||
#PermitUserEnvironment no
|
||||
#Compression delayed
|
||||
#ClientAliveInterval 0
|
||||
|
||||
Reference in new issue
Block a user