]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Enable sftp subsystem in default sshd_config
authorMaxim Uvarov <muvarov@gmail.com>
Mon, 24 Jun 2024 13:51:51 +0000 (16:51 +0300)
committerTobias Brunner <tobias@strongswan.org>
Wed, 26 Jun 2024 12:54:38 +0000 (14:54 +0200)
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 <muvarov@gmail.com>
testing/hosts/default/etc/ssh/sshd_config

index 700c7caaf7f64008207e584c2a91ba25782c35eb..bed9e823826a3f77cbb077b21d47a38c9df623a0 100644 (file)
@@ -13,3 +13,4 @@ PrintLastLog no
 UsePAM no
 AcceptEnv LANG LC_*
 AcceptEnv LEAK_DETECTIVE_LOG
+Subsystem      sftp    /usr/lib/openssh/sftp-server