How to add/replace SSH in existing droplet with new generated SSH?

August 20, 2016 271 views
DigitalOcean Git Linux Basics Ubuntu

Hello DO,

I am kind of stuck over here...i forgot my passphrase of ssh so while creating new droplet i couldn't ssh login. Hence, i regenerated the ssh with new passphrase now i couldn't access to my existing droplet either. I need to pair up my existing droplet with my new generated ssh which i couldn't figure out how to pair...i need help on this asap..any suggestion are most welcome.

Thank you!

2 Answers

You can use the DO's Console Access on the control panel to login to your server.

First login to this page:
And then go to your Droplet and click on the Console button on top right.
Using the console, you can access the Droplet using the root password without the SSH key.
From here, you can either configure your SSH server to allow login with passwords (I would recommend doing this) and setup the new SSH key or use the Console to setup the SSH key.

thank you that was very quick and on point answer!!

Have another answer? Share your knowledge.