1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

Fix sftp subsystem for Archlinux

This commit is contained in:
Yann Voté 2022-08-31 12:01:10 +02:00
parent 15b7867a37
commit b05c09d451

View file

@ -125,6 +125,8 @@ AcceptEnv LANG LC_*
# Subsystem sftp /usr/lib/openssh/sftp-server # Subsystem sftp /usr/lib/openssh/sftp-server
{% if ansible_os_family == 'RedHat' %} {% if ansible_os_family == 'RedHat' %}
Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp /usr/libexec/openssh/sftp-server
{% elif ansible_os_family == 'Archlinux' %}
Subsystem sftp /usr/lib/ssh/sftp-server
{% else %} {% else %}
Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp /usr/lib/openssh/sftp-server
{% endif %} {% endif %}