OpenSSH hardened configuration ============================== Purpose ------- This repository contains an hardened version of the default OpenSSH client and server configuration, disabling broken ciphers and unsafe authentication methods. Installation ------------ - `groupadd ssh-user` and `usermod -a -G ssh-user ` for each user allowed to use SSH. - Deploy user public keys before continuing - Clone this repo into `/etc/ssh/` - Uncomment `KexDHMin 4096` in `ssh{,d}_config` if supported by the installed OpenSSH - Regenerate `ssh_host_rsa_key{,.pub}` of length 4096 if lower References ---------- - [Secure Secure Shell](https://stribika.github.io/2015/01/04/secure-secure-shell.html)