From b05c09d4516fbf0301d6d436a698433704ec4191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20Vot=C3=A9?= Date: Wed, 31 Aug 2022 12:01:10 +0200 Subject: [PATCH] Fix sftp subsystem for Archlinux --- templates/sshd_config.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2 index ebd536a..1ebad12 100644 --- a/templates/sshd_config.j2 +++ b/templates/sshd_config.j2 @@ -125,6 +125,8 @@ AcceptEnv LANG LC_* # Subsystem sftp /usr/lib/openssh/sftp-server {% if ansible_os_family == 'RedHat' %} Subsystem sftp /usr/libexec/openssh/sftp-server +{% elif ansible_os_family == 'Archlinux' %} +Subsystem sftp /usr/lib/ssh/sftp-server {% else %} Subsystem sftp /usr/lib/openssh/sftp-server {% endif %}