Question

Putty fatal error disconnected no supported authentication methods available server sent publickey gssapi

By accessing the putty is showing this putty “fatal error disconnected the supported authentication methods available server sent publickey gssapi” … Can anyone tell me how to fix? [ Screenshots : http://i.imgur.com/MADV1lV.jpg]

Show comments

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.

No supported authentication methods available (server sent: publickey), it basically says that the server said it supported public key authentication only and PuTTY was not able to provide it. I will recommend you double-check the settings in PuTYY. You can check these tutorials:

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

https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps

You can try copying the key via ssh instead of using PuTTY. You can also use the ssh-copy-id command in order to do so. An example will be:

  1. ssh-copy-id -i ~/.ssh/mykey user@host

Hope that this helps! Regards, Alex

This comment has been deleted

It’s likely that your file paths/folder paths for Putty to see your public keys to access your site are either incorrect, missing, or the files themselves are missing. These settings in Putty are in: Connection -> SSH -> Auth