Question

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

Posted June 30, 2016 62.9k views
CentOSDigitalOceanSystem Tools

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]

2 comments

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.

×
Submit an Answer
3 answers

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

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:

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

Hope that this helps!
Regards,
Alex

by Pablo Carranza
This tutorial runs through creating SSH keys with PuTTY to connect to your virtual server.