mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-16 21:45:39 +01:00
Updated comment to note that the configuration is community-provided.
parent
deb3537943
commit
c167db93d4
@ -28,8 +28,8 @@ sed -i 's/^\#HostKey \/etc\/ssh\/ssh_host_\(rsa\|ed25519\)_key$/HostKey \/etc\/s
|
|||||||
### 4. Restrict supported key exchange, cipher, and MAC algorithms
|
### 4. Restrict supported key exchange, cipher, and MAC algorithms
|
||||||
```
|
```
|
||||||
cat <<EOF > /etc/ssh/sshd_config.d/ssh-audit_hardening.conf
|
cat <<EOF > /etc/ssh/sshd_config.d/ssh-audit_hardening.conf
|
||||||
# Restrict key exchange, cipher, and MAC algorithms, as per sshaudit.com
|
# Restrict key exchange, cipher, and MAC algorithms, as per community-provided
|
||||||
# hardening guide.
|
# hardening guide at: https://github.com/jtesta/ssh-audit/wiki/Proxmox-VE-7.3-6/
|
||||||
KexAlgorithms diffie-hellman-group14-sha256,curve25519-sha256,curve25519-sha256@libssh.org,gss-curve25519-sha256-,diffie-hellman-group16-sha512,gss-group16-sha512-,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256
|
KexAlgorithms diffie-hellman-group14-sha256,curve25519-sha256,curve25519-sha256@libssh.org,gss-curve25519-sha256-,diffie-hellman-group16-sha512,gss-group16-sha512-,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256
|
||||||
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user