3 ms·
so fail2ban, disabling root logins, and key-based authentication are the answer?
by jasonoliveira 11y ago
so fail2ban, disabling root logins, and key-based authentication are the answer?
- dredmorbius 11y agoA large portion of it, yes. Limiting SSH to specific IPs or netblocks, and/or specifically excluding those you're likely to never use, would also help cut down on the attack surface. Not that hosts within your perimiter don't get compromised, but there are far fewer of them. 2FA including keyfobs is yet another option.
- thebakeshow 11y agoPort knocking can help also