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

Posted August 20, 2016 4k views
Linux BasicsUbuntuGitDigitalOcean

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!

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.

Submit an Answer
3 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!!