fix(sshd_config): drop UsePrivilegeSeparation (fixes #183)
This commit is contained in:
parent
09fce3143b
commit
46effa63da
|
@ -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 %}
|
||||
|
|
|
@ -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') -}}
|
||||
|
|
Loading…
Reference in New Issue