Need help? We reply fast. +447365601447 helps@jryhost.com WhatsApp Contact us

← Help center · VPS and servers

First steps on a new Linux VPS: a security checklist

A new server is reachable by everyone on the internet. Do these steps first.

Checklist

  1. Update the system
apt update && apt upgrade -y

(On AlmaLinux or CentOS use dnf update -y.)

  1. Change the root password: guide.
  2. Create a normal user and give it sudo rights:
adduser deploy
usermod -aG sudo deploy
  1. Use SSH keys and turn off password login: guide.
  2. Turn on a firewall: UFW guide.
  3. Turn on automatic security updates (unattended-upgrades on Ubuntu).
  4. Make backups and keep a copy away from the server.

Do not install software you do not need. Less software means fewer ways in.

More in VPS and servers

Still stuck? Open a support ticket.

Chat with us