No supported authentication methods available (server sent: publickey )

I try to login my droplet server. I use putty , when I enter my credentials,it show No supported authentication methods available (server sent: publickey) what wrong with that. I also cannot enter droplet console because I cannot enter as root , So how can solve this.

Submit an answer

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!

Sign In or Sign Up to Answer

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.


In addition to what has been already mentioned, you can follow the steps from this tutorial here on how to do your initial server setup here:

Or you can watch this video tutorial here:

Hope that this helps!

Regards, Bobby

Hi @moehkak,

You need to use a Public Key to enter your Droplet. The Droplet’s created in DigitalOcean by default do not have Password Authentication turned on.

You can follow this docs page to create and add your SSH keys to your Droplet: