Question

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

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:

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04

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:

https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/