Skip to content

Commit 2f8029b

Browse files
author
Piotr Domagała
committed
Sort KexAlgorithms in the right order (greater security to lesser)
1 parent cf9c333 commit 2f8029b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rootfs/etc/ssh/sshd_config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ TCPKeepAlive yes
2626
#AcceptEnv LANG LC_*
2727
Subsystem sftp /usr/lib/openssh/sftp-server
2828
UseDNS no
29-
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr,aes128-[email protected],aes256[email protected],[email protected]
30-
Kexalgorithms diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,[email protected],gss-gex-sha1-,gss-group1-sha1-,gss-group14-sha1-
29+
Ciphers [email protected],[email protected],aes128[email protected],aes256-ctr,aes192-ctr,aes128-ctr
30+
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
3131

0 commit comments

Comments
 (0)