Author: Daniel Baumann Description: Setting KexAlgorithms in ssh_config to Curve25519 and Diffie-Hellman. diff -Naurp openssh.orig/ssh_config openssh/ssh_config --- openssh.orig/ssh_config +++ openssh/ssh_config @@ -42,6 +42,7 @@ Host * # Protocol 2 CASignatureAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256 Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr + KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256 # MACs hmac-md5,hmac-sha1,umac-64@openssh.com # EscapeChar ~ # Tunnel no