Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions openssh/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
3 changes: 0 additions & 3 deletions openssh/files/default/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -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') -}}
Expand Down
Loading