I see we can add ssh keys in DigitalOcean Dashboard (https://www.digitalocean.com/ssh_keys). I would like to the know use of it against creating a user in shell and adding ssh keys at .ssh folder of the user.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Got it. Let me try that and get back. <br> <br>Thanks
When you create a droplet, it will add that key for you for the root user. You have to select the key during the create process. Afterwords you can move the .ssh folder to whatever user you create that isn’t root (assuming you do that).