3 ms·
Two changes I would make: * use -t ed25519 to generate keys, much more efficient for same security compared to RSA * don’t use ufw. It easily becomes a big me
by 3np 5y ago
Two changes I would make:
* use -t ed25519 to generate keys, much more efficient for same security compared to RSA
* don’t use ufw. It easily becomes a big mess and is a pain to manage with ansible. firewalld is a much better high-lever firewall. Preferably with nftables backend.
If you have a bit bigger fleet and manage a CA you could look into using signed SSH certificates instead of public keys. That way you can provision access centrally without adding individual keys to individual servers.
- cheshire_cat 5y agoDo you switch Debian based systems to firewalld or do you just prefer RedHat based systems?
- 3np 5y agoI'm running mostly Debian, actually. No issues.