diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-09-24 19:43:54 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-09-24 19:43:54 +0100 |
commit | 824b1af7f42bcf01fcfb446b6a7a1e007ec55194 (patch) | |
tree | 96700a6bd370bdfda1538cdb9417226dedf2f0e9 /modules/openssh/templates | |
parent | c3024d2ec1e76a527d54fa7c391142b65697e06b (diff) | |
download | puppet-824b1af7f42bcf01fcfb446b6a7a1e007ec55194.tar puppet-824b1af7f42bcf01fcfb446b6a7a1e007ec55194.tar.gz puppet-824b1af7f42bcf01fcfb446b6a7a1e007ec55194.tar.bz2 puppet-824b1af7f42bcf01fcfb446b6a7a1e007ec55194.tar.xz puppet-824b1af7f42bcf01fcfb446b6a7a1e007ec55194.zip |
Drop deprecated sshd option
Diffstat (limited to 'modules/openssh/templates')
-rw-r--r-- | modules/openssh/templates/sshd_config | 2 |
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 |