basessh: sandbox privsep is not supported on el6

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-04-08 19:13:21 +02:00
parent 9b09d4d5d0
commit 5080bfbee2

View file

@ -31,7 +31,11 @@ AllowAgentForwarding no
X11Forwarding no
PermitTunnel no
{% if ansible_distribution_major_version == "6" %}
UsePrivilegeSeparation yes
{% else %}
UsePrivilegeSeparation sandbox
{% endif %}
# Accept locale-related environment
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES