Initialize Ubuntu Droplet in DigitalOcean

This is a simple instruction on how to initialize Ubuntu Droplet in DigitalOcean. We will use Ubuntu 16.04 32 bit in this case. We have to useĀ a normal user instead of the root account. Normally the root account should be disabled. First, we have to add a user by executing the following command. Let’s assume the intended username is john. adduser john Then we need to add the above user account into sudo group by executing the following command. gpasswd -a john sudo Assuming you generated an SSH key pair using the previous step, use the following command at the terminal of your local machine to print your public key (id_rsa.pub): cat ~/.ssh/id_rsa.pub This should print your public SSH key, […]

Continue reading