Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Server Hardening (Ubuntu)

A practical project to harden an Ubuntu server using security best practices.


Table of Contents


Scope

This project focuses on:

  • Initial server baseline and inventory
  • SSH hardening with key-based authentication
  • Firewall and network controls
  • Brute-force mitigation (Fail2ban)
  • Automatic security updates
  • Logging and auditing basics
  • Backup and recovery readiness
  • Validation checklist and ongoing maintenance

Quick Start

  1. Read Project Overview
  2. Follow the guides in order (0013)
  3. Execute commands carefully and test access after each critical change
  4. Complete Validation & Security Checklist
  5. Check out the Project Demonstration on Youtube

Safety Notes

  • Always keep one active root/console session while hardening SSH and firewall settings.
  • Test new SSH config in a second session before disconnecting your original session.
  • Back up config files before changes (see Appendix B).
  • Do not disable password auth until SSH keys are verified.