From 3df406cbb316f889e6d7d0e073aec19be674163d Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 8 Nov 2016 22:52:45 +0100 Subject: Adapt conf for Debian --- ssh_config | 2 +- sshd_config | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ssh_config b/ssh_config index 79ca5e1..fc3a628 100644 --- a/ssh_config +++ b/ssh_config @@ -20,7 +20,7 @@ # Minimum accepted size of the DH parameter p. By default this is set to 1024 # to maintain compatibility with RFC4419, but should be set higher. # Upstream default is identical to setting this to 2048. -KexDHMin 4096 +#KexDHMin 4096 KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa diff --git a/sshd_config b/sshd_config index 2b2b54e..3e87b5c 100644 --- a/sshd_config +++ b/sshd_config @@ -29,7 +29,7 @@ HostKey /etc/ssh/ssh_host_ed25519_key # Minimum accepted size of the DH parameter p. By default this is set to 1024 # to maintain compatibility with RFC4419, but should be set higher. # Upstream default is identical to setting this to 2048. -KexDHMin 4096 +#KexDHMin 4096 KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 # Lifetime and size of ephemeral version 1 server key @@ -138,7 +138,7 @@ UsePrivilegeSeparation sandbox # Default for new installations. #Banner none # override default of no subsystems -Subsystem sftp /usr/lib/ssh/sftp-server +Subsystem sftp /usr/lib/openssh/sftp-server # This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5). AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES -- cgit v1.2.3