By fossterer
I’ve deleted an (old) second SSH key from https://cloud.digitalocean.com/settings/security. I still see it in ‘~/.ssh/authorized_keys’ file
I’ve added a new second SSH key through https://cloud.digitalocean.com/settings/security. I am unable to see it in ‘~/.ssh/authorized_keys’ file
Where are the changes happening? Is adding to/removing from ‘~/.ssh/authorized_keys’ file manually equivalent to this at all?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi!
Adding, removing, or modifying an SSH key in any way through the control panel does not affect any existing Droplets. The changes will take effect for new Droplets only.
While the droplet is being created, any selected SSH keys will be copied to /root/.ssh/authorized_keys. Again, this is a one-time process, so you will need to SSH into your droplet and edit authorized_keys using a text editor if you need to make any changes related to SSH keys for an existing Droplet.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.