can not log in from terminal

November 19, 2019 166 views
DigitalOcean API and CLI (doctl)

hi , i have generate a rsa keypair and added the pubkey into my account security settings, but i still cannot log in my server , if remember correctly , i must log in from terminal first, then add the pubkey into ~/.ssh/auth**_key file manually, but i am in very embarrassed case, maybe i have disabled password login long time ago ,what can i do now, expecting a answer, thank you in advance.

excuse me if there are some ambiguous expressions , english is not my mother tongue.

1 Answer

If you’re having issues logging in to your Droplet via SSH and have password login disabled, you can still recover the Droplet. You’ll need to reset your password and use the web-based recovery console gain access. Check out this article from the DigitalOcean product documentation for step by step instructions:

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!