diff --git a/openssh/config.sls b/openssh/config.sls index ea082f2..363fdb1 100644 --- a/openssh/config.sls +++ b/openssh/config.sls @@ -129,14 +129,3 @@ ssh_host_{{ keyType }}_key.pub: - service: {{ openssh.service }} {%- endif %} {%- endfor %} - -{%- if sshd_config.get('UsePrivilegeSeparation', '')|lower == 'yes' %} -/var/run/sshd: - file.directory: - - user: root - - mode: 755 - - require_in: - - file: sshd_config - - watch_in: - - service: {{ openssh.service }} -{%- endif %} diff --git a/openssh/files/default/sshd_config b/openssh/files/default/sshd_config index a6f5ac1..21b8246 100644 --- a/openssh/files/default/sshd_config +++ b/openssh/files/default/sshd_config @@ -86,9 +86,6 @@ {#- HostKeys for protocol version 2 -#} {{- option('HostKey') -}} -{#- Privilege Separation is turned on for security -#} -{{- option('UsePrivilegeSeparation') -}} - {#- Logging -#} {{- option('SyslogFacility') -}} {{- option('LogLevel') -}}