Hello DigitalOcean community,
I forgot to enter my SSH key in when I was creating my droplet. However, I cannot find a way to edit the droplet in order to change the SSH key. Does anyone know a way to do this?

Thank you,

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.

Submit an Answer
1 answer

Once you create Droplet, you’ll not be able to attach SSH key from Control Panel.
However, you can always do that via SSH. As you didn’t used SSH key on Droplet creation, you got root password in your mail. Use it to login to the Droplet.

Step Four — Add Public Key Authentication (Recommended) of Initial Server Setup with Ubuntu 16.04 will help you do this.
As you already have SSH key, you are free to skip Generate a Key Pair, you can start from Copy the Public Key.

by Mitchell Anicas
When you start a new server, there are a few steps that you should take every time to add some basic security and give you a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 16.04.