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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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 [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
30+
KexAlgorithms [email protected],ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
31+

0 commit comments

Comments
 (0)