Skip to content

Commit 75e37c0

Browse files
authored
Merge pull request #53 from pdomagala/update-ssh-algorithms
chore(sshd): exclude deprecated SSHv2 key exchange algorithms
2 parents 5fe6b14 + 705f203 commit 75e37c0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

rootfs/etc/ssh/sshd_config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ UsePrivilegeSeparation yes
66
KeyRegenerationInterval 3600
77
ServerKeyBits 768
88
SyslogFacility AUTH
9-
LogLevel INFO
9+
LogLevel VERBOSE
1010
LoginGraceTime 120
1111
PermitRootLogin yes
1212
StrictModes yes
@@ -26,3 +26,6 @@ TCPKeepAlive yes
2626
#AcceptEnv LANG LC_*
2727
Subsystem sftp /usr/lib/openssh/sftp-server
2828
UseDNS no
29+
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,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
31+
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com

0 commit comments

Comments
 (0)