Knowledge Base / Web Hosting & Servers
First 5 Security Steps After Receiving Root Access on a Dedicated Server
Updated 3 December 2026
Securing a newly provisioned Linux dedicated server takes just 15 minutes and blocks 99% of automated internet scans:
- Update all system packages immediately (
apt update && apt upgradeordnf upgrade). - Create a non-root
sudouser and configure SSH key authentication. - Disable direct root password login in
/etc/ssh/sshd_config. - Enable a host firewall allowing only required ports.
- Install Fail2Ban to automatically block repeated SSH brute-force attempts.