mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
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>
17 lines
368 B
Plaintext
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
|