fix(sshd_config): drop UsePrivilegeSeparation (fixes #183)

This commit is contained in:
Alexander Weidinger 2024-02-09 01:02:51 +01:00
parent 09fce3143b
commit 46effa63da
2 changed files with 0 additions and 14 deletions

View File

@ -129,14 +129,3 @@ ssh_host_{{ keyType }}_key.pub:
- service: {{ openssh.service }} - service: {{ openssh.service }}
{%- endif %} {%- endif %}
{%- endfor %} {%- 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 %}

View File

@ -86,9 +86,6 @@
{#- HostKeys for protocol version 2 -#} {#- HostKeys for protocol version 2 -#}
{{- option('HostKey') -}} {{- option('HostKey') -}}
{#- Privilege Separation is turned on for security -#}
{{- option('UsePrivilegeSeparation') -}}
{#- Logging -#} {#- Logging -#}
{{- option('SyslogFacility') -}} {{- option('SyslogFacility') -}}
{{- option('LogLevel') -}} {{- option('LogLevel') -}}