editing public key in droplet

Posted August 22, 2020 267 views

Can I edit the public key I posted in for my droplet?

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
2 answers

You mean you would like to replace it with another one ? Yes, you can. To do that follow this tutorial:

Hi, @frankdebenedetti

If you would like to upload a new ssh-key to your droplet in case you’ve deleted it from your other machine, you can follow the tutorial that Yannek posted:

If you would like to create a new public key for your droplet in order to access other machines/servers (in case you’re using the droplet as a jump box), you can simply use the ssh-keygen to generate a new pair of keys for your droplet which you can then upload to your other droplets.