Report this

What is the reason for this report?

Does removing public SSH key protect my website?

Posted on May 5, 2016

Hi, I had worked with a developer, granting him public SSH key to my droplet.

  1. Now that our work is completed, with me removing the SSH key, does this mean that he could no longer access any of my website data and database through the droplet?
  2. I also found that I do not know ‘root password’ and so I request for a reset of that (with Digital Ocean notifying me that the reset link or something has been emailed to me) - do I have to worry if anyone (like my developer) could break into my website?

*noob question I know, as I’m a non developer/non technical person. Thanks in advanced



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!

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.
  1. No, you need to SSH in to remove it from the authorized_keys file.
  2. Yes, if he had malicious intends from the beginning he could have installed a backdoor.
  1. Am I to understand correctly that what I did, i.e. removing the public SSH key under settings/security doesn’t help unless I also remove it manually through the authorized_keys file? How can I assess this file? *am asking as I’m a total non technical person
  2. I reckon there’s no way to check for this, innit?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.