LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-17-2014, 02:15 PM   #1
dandelion
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
PuTTY - Disconnected: No Supported Authentication methods available


I am hosting a KVM server with CentOS 6.5 through Vultr.com, the server was working fine about 1-2 hours ago but now when I try to login via PuTTY I get the error "PuTTY - Disconnected: No Supported Authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)". I can still login to the server from the Vultr.com web console and run any commands needed that might fix this if someone has a suggestion.. I have never used publickeys on this server at all so I am not sure why these errors are just randomly popping up.. Anyone have ideas?

Thanks!
 
Old 09-17-2014, 04:42 PM   #2
dandelion
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Fixed

Alright, not sure why this problem even happened in the first place but I figured out how to fix it in my case. I used the web console and removed and re-installed ssh by running "yum erase openssh-server" and then "yum install openssh-server"
 
Old 09-17-2014, 05:35 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Quote:
Originally Posted by dandelion View Post
I (..) removed and re-installed ssh by running "yum erase openssh-server" and then "yum install openssh-server"
With Linux it is extremely rare to have to remove and reinstall software. That is more of a Microsoft-like approach. More importantly it teaches you nothing with respect to troubleshooting like checking application arguments, ownership, configuration, checking log file entries for errors, etc, etc. I would suggest next time you take the time to build up your practical Linux knowledge. It's worth it.
 
1 members found this post helpful.
Old 09-17-2014, 05:37 PM   #4
dandelion
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Well if anyone else has other suggestions for why this would happen so I could avoid it from happening again I would love to learn. I googled the error message for about 2 hours before I made this thread and they were all related to incorrect public keys, which is totally unrelated seeing as I don't use a public key to login currently.
 
Old 11-12-2016, 04:48 AM   #5
Vivekanandan Dhamodharan
LQ Newbie
 
Registered: Jun 2016
Posts: 7

Rep: Reputation: Disabled
solution

Now you try to Normal login in your system. Then edit to using vi /etc/ssh/sshd_config key press town now you check the PasswordAuthentication yes save and restart the service sshd.
 
Old 11-15-2016, 09:30 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,142

Rep: Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467Reputation: 6467
Quote:
Originally Posted by Vivekanandan Dhamodharan View Post
Now you try to Normal login in your system. Then edit to using vi /etc/ssh/sshd_config key press town now you check the PasswordAuthentication yes save and restart the service sshd.
Please, don't re open old threads..this was closed for TWO YEARS before you re-opened it.
 
Old 03-25-2019, 05:52 AM   #7
zopfan
LQ Newbie
 
Registered: Mar 2019
Posts: 1

Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by dandelion View Post
I am hosting a KVM server with CentOS 6.5 through Vultr.com, the server was working fine about 1-2 hours ago but now when I try to login via PuTTY I get the error "PuTTY - Disconnected: No Supported Authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)". I can still login to the server from the Vultr.com web console and run any commands needed that might fix this if someone has a suggestion.. I have never used publickeys on this server at all so I am not sure why these errors are just randomly popping up.. Anyone have ideas?

Thanks!
Diff from all other answers here:

I received this authentication error- No supported authentication methods available (server sent: publickey) repeatedly while connecting to my google cloud platform and connecting thru FileZilla, even when I had spent hours checking my each of my steps again and again by watching diff youtube videos and reading articles over Digital Ocean and similar.

But finally succeeded in a second, when I went into GCloud> Desired Project> Compute Engine> Metadata (in the left bar)> Metadata (in the main Pane)> and there I changed ' enable-oslogin' from 'True' to 'False'.

I had, sometime in my overzeal, had put in this key yesterday while doing something else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set ssh/putty session running in disconnected mode aamerjavaid Linux - Newbie 7 07-08-2011 08:53 AM
Disconnected no supported authentication methods available with Debian macaruchi Linux - Networking 11 05-26-2011 05:54 PM
No supported authentication methods available when using a private key for login j.smith1981 Linux - Server 8 03-02-2011 08:14 AM
SME Linux SSH "No supported authentication methods available" tryangle Linux - General 7 06-29-2009 07:18 AM
ssh - No supported authentication methods rajah9 Linux - Networking 4 08-19-2005 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration