1. Log in for the first time
Grab your credentials from the panel and SSH in. See SSH Access if you need help.2. Change the root password
Even if the password we generated is strong, changing it to something only you know is worth the 5 seconds.3. Update the system
Install the latest security patches before doing anything else.4. Create a non-root user
Running everything as root is dangerous. Create a regular user withsudo access.
5. Add your SSH key
Password auth is the slow lane. SSH keys are faster and much harder to brute-force. On your local machine, generate a key pair if you do not already have one:6. Disable root SSH login
Once you can log in as your regular user, close the root door.7. Enable the firewall
Allow SSH first, then turn on UFW.8. Turn on automatic security updates
Set and forget:9. Set the correct timezone
Logs and cron schedules are much easier to read when the clock matches yours.10. Set a hostname
Done
You now have a hardened VPS with:- A non-root user with
sudo. - Key-only SSH access.
- Root login disabled.
- A firewall blocking everything except SSH.
- Automatic security patching.
- Backups & Snapshots so you can roll back mistakes.
- systemd Services to keep your apps running.
- The Guides for deploying real workloads.
