fix sshd_config for opensuse

This commit is contained in:
Malte 2024-06-17 20:19:49 +02:00
parent 3fbd45778d
commit f5d1213812

View file

@ -12,4 +12,8 @@ X11Forwarding {{ salt['pillar.get']('basics:ssh:x11_forwarding', 'no') }}
PrintMotd no PrintMotd no
MaxStartups 5:50:30 MaxStartups 5:50:30
AcceptEnv LANG LC_* AcceptEnv LANG LC_*
{% if grains.os_family == "Suse" %}
Subsystem sftp /usr/libexec/ssh/sftp-server
{% else %}
Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp /usr/lib/openssh/sftp-server
{% endif %}