====== Initial Debian Setup ====== //This is pretty darn basic. I usually build a new system if its local I just include my nugget account during the build. If its in the cloud at Digital Ocean or some other VPS provider I go through these steps.// ** Step: 1 - SSH to VPS ** Basic stuff not much to explain here. ssh root@your_server_ip ** Step: 2 - Build your standard user account ** My user name is nugget... You can just use your first name. adduser nugget Then add yourself to the sudo users group usermod -aG sudo nugget ** Step 3: Load the UFW (Ubuntu Firewall) ** Install the UFW package and permit SSH for your remote access. Your default build shouldn't have many publicly exposed services but doing this in practice should keep you from loading something that opens external ports without your knowledge. :!: You should only allow ports to be open that you know and trust. The "ufw enable" command at the end is important to actually turn on the firewall after you permit SSH. If you did a local install of Debian (e.g. not in the cloud) you may need to specify SSH during the install or install it manually before doing these steps. apt update apt install ufw ufw allow OpenSSH ufw enable ** Step 4: Copy your SSH Keys to your home directory ** If this is at Digital Ocean you can typically just copy the public keys from roots home to your new user. then make them your own. cp -r ~/.ssh /home/nugget chown -R nugget:nugget /home/nugget/.ssh And thats it folks... That should be your basic up and runnings.