How do I secure my new VPS or dedicated server? Print

  • 0

A server that is connected to the internet is scanned by bots within minutes. Follow these basic steps right after delivery.

  1. Update everything – install all operating system updates and enable automatic security updates.
  2. Use SSH keys and disable password login for root (PermitRootLogin prohibit-password in /etc/ssh/sshd_config).
  3. Enable a firewall (ufw, firewalld or nftables) and only open the ports you actually use.
  4. Install Fail2ban to block repeated failed login attempts.
  5. Use strong, unique passwords for every service and control panel.
  6. Make regular backups and store them outside the server.
  7. Monitor your server for unusual CPU, network or disk usage – this can be a sign of a compromised server.

You are responsible for the security of an unmanaged server. A compromised server that sends spam or attacks other systems may be suspended to protect our network.


Was this answer helpful?

« Back