We will quickly recap all firsts security steps to install a Debian server quickly & cleanly. I will update these snippets over time, keep in mind it's just snippets :).
Set user
# Server root : create & add to sudo
sudo adduser user
sudo usermod -aG sudo user
# Server root