mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-22 17:15:09 +01:00
Make sure /etc/ssh/sshd_config.d/
exists before adding a config file to it.
parent
88d7b0ece7
commit
5faa34e4a4
@ -19,6 +19,7 @@ mv /etc/ssh/moduli.safe /etc/ssh/moduli
|
||||
```
|
||||
4. Restrict supported key exchange, cipher, and MAC algorithms
|
||||
```bash
|
||||
[ -d /etc/ssh/sshd_config.d ] || /bin/mkdir etc/ssh/sshd_config.d
|
||||
echo '
|
||||
# Restrict key exchange, cipher, and MAC algorithms, as per sshaudit.com
|
||||
# hardening guide.
|
||||
|
Loading…
Reference in New Issue
Block a user