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
code
$ sudo ssh root@167.xx.xxx.xxx
The authenticity of host '167.xx.xxx.xxx (167.xx.xxx.xxx)' can't be established.
ECDSA key fingerprint is SHA256:zxczxczxczxczxczxczxcx
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '167.xx.xxx.xxx' (ECDSA) to the list of known hosts.
root@167.xx.xxx.xxx: Permission denied (publickey).
Thank You
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello, @sobeit2020
You can create a new pair of ssh-keys and then upload them to the droplet.
You can check these two articles:
How-to Add SSH Keys to New or Existing Droplets
How to Upload an SSH Public Key to an Existing Droplet
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:
https://www.digitalocean.com/docs/droplets/resources/lost-ssh-key/
Let me know how it goes. Regards, Bobby
Works, thanks for great support