X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=sshd_config;h=47d857762fd8fd647763a2f2f38615279c872b78;hb=10029386b0efedf07dcf368fdb2fcdd1c85017d0;hp=dbb774eb7151bf57580af68076a1764488be0bbf;hpb=b7a761aa3677916ec29d53e5807aa0c5df91b03e;p=config%2Fdotfiles.git diff --git a/sshd_config b/sshd_config index dbb774e..47d8577 100644 --- a/sshd_config +++ b/sshd_config @@ -25,6 +25,11 @@ Port 22 # Only use protocol 2. Protocol 1 is insecure. (default) Protocol 2 +# Stronger algorithms. See ssh_config for details. +KexAlgorithms diffie-hellman-group-exchange-sha256 +Ciphers aes256-ctr +MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-512 + # Use privilege separation for increased security. "sandbox" applies # additional restrictions on the unprivileged process. UsePrivilegeSeparation sandbox