Question

Access granted with password login to SSH enabled droplet

Posted January 9, 2020 562 views
DigitalOcean API and CLI (doctl)

I have security concern here.
I have enabled SSH to my droplet and if i wanted to access the droplet via GitBash via windows10 i need to have my SSH public key saved to my DigitalOcean account.

when i do ssh root@123.456.789.101 it will check for my public key and ask for droplet password.

If my desktop side doesn’t have the SSH key, it will show “permission denied (public key)”

But, when i access the droplet via mobile app JuiceSSH, it only asks for droplet password provided i didn’t generate any SSH nor didn’t save any new public key to DigitalOcean Account.

What did i do wrong here?

Note: I followed this Disable root password guide but the saved public keys are all unusable.

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.

×
1 answer

Hi @nax,

Your setup should be fine. If you type in the password, the droplet shouldn’t accept it at all.

Please do try to type in the real password from your phone to see if the server would even try to accept it.

Regards,
KDSys

Submit an Answer