Regaining Access to droplet thorugh SSH, after original ~/.ssh directory is gone

Hey, i can access to my droplet through DO console, in DO/Settings/Security/SSH, there is ssh key with fingerprint, but my original id_rsa files are lost.

Is there a way, that i can get to droplet from my terminal again?

so far i get

$ sudo ssh
The authenticity of host ' (' can't be established.

ECDSA key fingerprint is SHA256:zxczxczxczxczxczxczxcx
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (ECDSA) to the list of known hosts. Permission denied (publickey).

Thank You

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hello, @sobeit2020

You can create a new pair of ssh-keys and then upload them to the droplet.

You can check these two articles:

Hope that this helps! Regards, Alex

Hi there @sobeit2020,

Yes, you can regain access to your Droplet by following the steps from this page here:

Let me know how it goes. Regards, Bobby

Works, thanks for great support