How to harden Debian Buster

To install the necessary dependencies, you can use apt. Run the following command to update the package list and upgrade the system: apt-get update -y && apt-get upgrade -y Then, install the required packages: apt-get install -y git ufw fail2ban sudo Add a new user You can skip this step if you already have a user with sudo privileges that is not root. useradd -m -s /bin/bash your_username SSH Keys To begin, generate an SSH Key pair on your local machine....

October 8, 2020 · 4 min · 683 words · Selwyn Rogers