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

Posted June 30, 2016 64.8k 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 :]


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:

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!

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