From d8c6fa3b9a223cee4504ddbebcae6963316f78f6 Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Mon, 24 Jun 2024 16:51:51 +0300 Subject: [PATCH] testing: Enable sftp subsystem in default sshd_config OpenSSH defaults have changed and scp stopped to work with newer versions. There are 2 options to fix it, either use -O (legacy scp protocol) with scp, or enable the sftp subsystem in the SSH server config. This fix uses the second variant. Closes strongswan/strongswan#2310 Signed-off-by: Maxim Uvarov --- testing/hosts/default/etc/ssh/sshd_config | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/hosts/default/etc/ssh/sshd_config b/testing/hosts/default/etc/ssh/sshd_config index 700c7caaf..bed9e8238 100644 --- a/testing/hosts/default/etc/ssh/sshd_config +++ b/testing/hosts/default/etc/ssh/sshd_config @@ -13,3 +13,4 @@ PrintLastLog no UsePAM no AcceptEnv LANG LC_* AcceptEnv LEAK_DETECTIVE_LOG +Subsystem sftp /usr/lib/openssh/sftp-server