mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-12-25 06:44:39 +01:00
Merge 46effa63da643a0024f213827b79f3f49af3925c into 5a0a5038d9d2a58547a5a71d681ffc587cddad86
This commit is contained in:
commit
0e7b1e5961
@ -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…
x
Reference in New Issue
Block a user