From: Maxim Uvarov Date: Mon, 24 Jun 2024 13:51:51 +0000 (+0300) Subject: testing: Enable sftp subsystem in default sshd_config X-Git-Tag: android-2.5.2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8c6fa3b9a223cee4504ddbebcae6963316f78f6;p=thirdparty%2Fstrongswan.git 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 --- diff --git a/testing/hosts/default/etc/ssh/sshd_config b/testing/hosts/default/etc/ssh/sshd_config index 700c7caaf7..bed9e82382 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