DO Ideas 2

adding ssh keys didn't affect image

I just added 2 ssh keys on web console, destroyed my image, made a new instance, and found that /root/.ssh/authorized_keys was a 1-byte file (a newline, I guess). It should have contained my two keys.

  • Drew Perttula
  • Sep 11 2018
  • Will not implement
  • Sep 11, 2018

    Admin Response

    When you add SSH keys they just get add to the SSH key manager. We do not update the SSH keys that are on your server. SSH keys are only added when you create the server after that we do not modify them. If you added two SSH keys and want them both to be on the server, make sure to select them from the droplet creation menu under the SSH keys portions. You can select multiple SSH keys there. Thanks, Moisey
  • Attach files
  • Pablo commented
    September 11, 2018 17:56

    When going through the droplet-creation process, did you select an SSH key under the section titled "Add optional SSH Keys?"