Add recommend key exchange
This commit is contained in:
parent
14b7b6d2ef
commit
0dbeb64710
1 changed files with 3 additions and 3 deletions
|
@ -58,9 +58,9 @@ Ciphers aes256-ctr,aes128-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-gcm@opens
|
||||||
|
|
||||||
# Key Exchange algorithms (Elliptic Curve Diffie-Hellman)
|
# Key Exchange algorithms (Elliptic Curve Diffie-Hellman)
|
||||||
# DH-SHA-256 included for compat with PuTTY-WinCrypt clients
|
# DH-SHA-256 included for compat with PuTTY-WinCrypt clients
|
||||||
KexAlgorithms diffie-hellman-group-exchange-sha256,curve25519-sha256@libssh.org
|
KexAlgorithms diffie-hellman-group18-sha512,curve25519-sha256@libssh.org
|
||||||
|
|
||||||
# Don’t read the user’s ~/.rhosts and ~/.shosts files
|
# Don’t read the user’s ~/.rhosts and ~/.shosts files
|
||||||
IgnoreRhosts yes
|
IgnoreRhosts yes
|
||||||
|
|
||||||
# Disable unused authentication schemes
|
# Disable unused authentication schemes
|
||||||
|
@ -74,7 +74,7 @@ UsePAM no
|
||||||
# X11 support
|
# X11 support
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
|
|
||||||
# Don’t show Message of the Day
|
# Don’t show Message of the Day
|
||||||
PrintMotd yes
|
PrintMotd yes
|
||||||
|
|
||||||
# TCPKeepAlive (non-tunneled, disabled)
|
# TCPKeepAlive (non-tunneled, disabled)
|
||||||
|
|
Loading…
Reference in a new issue