Security & Identity
Hardening SSH: key-only login, bastion hosts and fail2ban
Ten minutes after a VM gets a public IP, thousands of password guesses arrive. Keys, one config detail about file order, and a single entry point turn that noise into denied attempts.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Security & Identity
- Secrets Manager, Parameter Store and KMSIntermediate · 5 min
A database password sits in a user-data script and in Git history, readable by anyone who can describe the instance. AWS has two places to keep it, one key service…
- Secret rotationIntermediate · 5 min
The orders database password is 14 months old and appears in three CI logs. Rotation replaces it on a schedule in two places at once, and the app has to keep up or the…
- External SecretsBeginner · 4 min
External Secrets syncs values from external secret managers.
- Envelope encryptionBeginner · 4 min
Envelope encryption encrypts data keys under master keys.