Security on your VPS
You have just rented out your first VPS (Virtual Private Server) and can’t wait to use it. We’ve all been there, but first things first, let’s make it rock solid secure.
Update your system Something really important making sure that our system is always up-to-date. To achieve that, the first thing we have to do is:
In Ubuntu:
sudo apt update sudo apt upgrade In RedHat / Fedora:
sudo dnf upgrade Disable root access We are going to make it so that the root user cannot be accessed from the outside.