diff --git a/macOS.md b/macOS.md index 9723996..c64f26b 100644 --- a/macOS.md +++ b/macOS.md @@ -26,7 +26,7 @@ echo ' KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-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 MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com -HostKeyAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256' >> /etc/sshd/sshd_config +HostKeyAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256' > /etc/ssh/sshd_config.d/99_hardening.conf ``` 5. Restart OpenSSH server ```