Build custom libssh2 and enable hmac-sha2-512 as best matching MAC

This commit is contained in:
Daniel Winzen
2020-07-19 13:33:53 +02:00
parent 4a09f99ff7
commit 825a2967e2
3 changed files with 8 additions and 2 deletions

View File

@ -100,7 +100,7 @@ Subsystem sftp internal-sftp
# Hardened set of key exchange, cipher, and MAC algorithms, as per <https://www.sshaudit.com/hardening_guides.html>.
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com
MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512
Match User root
AuthenticationMethods publickey