Report this

What is the reason for this report?

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

Posted on January 21, 2019

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)



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.
0

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.