Maxim Uvarov d8c6fa3b9a 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 <muvarov@gmail.com>
2024-06-26 14:54:38 +02:00

17 lines
368 B
Plaintext

Port 22
Protocol 2
Ciphers aes128-gcm@openssh.com
KexAlgorithms curve25519-sha256
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
PermitRootLogin yes
StrictModes no
PubkeyAuthentication no
PermitEmptyPasswords yes
PrintMotd no
PrintLastLog no
UsePAM no
AcceptEnv LANG LC_*
AcceptEnv LEAK_DETECTIVE_LOG
Subsystem sftp /usr/lib/openssh/sftp-server