Question

cann't connect droplets(Ubantu) with ssh(putty) on windows

I have generate the ssh with putty and upload it to my account, but I cannot connect my droplets still.I set as the same as the guide(https://cloudsupport.digitalocean.com/s/#none|ka21N000000Cp7TQAS), but it will apear error message like: Disconnected: No supported authentication methods available(sever sent:publickey)

Subscribe
Share

Submit an 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.

Accepted Answer

Hey friend,

It sounds like password login is disabled, and this droplet uses SSH keys. It also sounds like PuTTY may not be using your private key, thus resulting in a situation in which the server offers no connection method that PuTTY can use to make the connection.

You can either use the web console to edit /etc/ssh/sshd_config and allow password login, or make sure to feed PuTTY the private key that is a matching pair with the public key added to your droplet.

To create a droplet that accepts password login by default, make sure not to select an SSH key on the droplet create page.

Jarland