Secure Ubuntu server for non-root user using only SSH keys
Here are the set of commands that you need to run as root on a new digital ocean droplet (assuming you have already setup root to have ssh access). This will setup mynewuser with passwordless sudo rights and the ability to ssh into the machine withou...
Jul 20, 20211 min read44

