aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/openssh/templates/sshd_config2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/openssh/templates/sshd_config b/modules/openssh/templates/sshd_config
index f6fff438..fbeba87d 100644
--- a/modules/openssh/templates/sshd_config
+++ b/modules/openssh/templates/sshd_config
@@ -104,7 +104,9 @@ X11Forwarding yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
+<% if scope.function_versioncmp([lsbdistrelease, '6']) < 0 -%>
UsePrivilegeSeparation yes
+<% end %>
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0