SSH: config hard security

This commit is contained in:
Jesús 2021-10-24 15:48:35 -05:00
parent a3e25be820
commit 0b80d2615f
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -118,9 +118,9 @@ Subsystem sftp /usr/lib/ssh/sftp-server
# ForceCommand cvs server
# Algorithms
Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256
MACs umac-128@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-512-etm@openssh.com
Ciphers chacha20-poly1305@openssh.com
KexAlgorithms curve25519-sha256@libssh.org
MACs hmac-sha2-512-etm@openssh.com
HostKeyAlgorithms=ssh-ed25519
EOF
fi