New to Digital Ocean. I created a new droplet. Added an SSH key which we can’t use (laptop broke). I want to add a second SSH key for desktop machine. How can I do this via the control panel interface?
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.
when you add a second ssh key to your droplet in nano ~/.ssh/authorized_keys are you able to use a .ppk key in openssh authorized key file?
I am just curious about this issue. Or would you need to create a seperate file for a .ppk ssh key in your server?
Adding your key to the DigitalOcean control panel after the Droplet is created will not give you access to the Droplet.
Figured it out. Go there: https://cloud.digitalocean.com/ssh_keys
if you can ssh in to your droplet you could just:
nano ~/.ssh/authorized_keys
and paste your key in. Save (ctrl X and then y )
that’s it!
if you can ssh in to your droplet you could just:
nano ~/.ssh/authorized_keys
and paste your key in. Save (ctrl X and then y )
that’s it!
if you can ssh in to your droplet you could just:
nano ~/.ssh/authorized_keys
and paste your key in. Save (ctrl X and then y )
that’s it!
This comment has been deleted
Figured it out. Go there: https://cloud.digitalocean.com/ssh_keys
OK, I figured out how to reset my password (I told you I was new to DO). I have the new password, but – don’t laugh – what is my username? I don’t remember setting up one. Is it my email address? I tried that, it didn’t work…
Thank you for your reply! I can only get to the control panel. When I set up the droplet it appeared that I could either add an SSH key (which I did, I wish I hadn’t), or get a root password by email. So now I have a droplet with a single public SSH key in it that I can’t access because the laptop that has the private key is down. How can I get out of this Catch 22, other than kill the droplet and create another one?