My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Do I need to create a new ssh key pair according to this tutorial?

estevan carlos benson's photo
estevan carlos benson
·Mar 15, 2018

I am learning some basics of the LAMP stack and setting one up on a Digital Ocean server. I am also installing Wordpress.

In one tutorial it states: (digitalocean.com/community/tutorials/how-to..)

We want to give user ownership to the regular, non-root user (with sudo privileges) that you plan on using to interact with your site. This can be your regular user if you wish, but some may suggest that you create an additional user for this process. It is up to you which you choose.

Another tutorial gives instructions on how to create a new user. It states that I need to create a ssh key pair: (digitalocean.com/community/tutorials/initia..)

Option 2: Manually Install the Key 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)

Question: I already have an ssh key pair for root access to the server. Do I need to create a NEW key pair for a new user OR am I supposed to use the previous key pair for the new user?