no supported authentication methods available (server sent: publickey, gssapi-keyex, gssapi-with-mic)

I am getting the following error when i try to connect through WinSCP/Putty to one of my backup/development servers. I am able to connect to Virtualmin on the browser though on that machine.

no supported authentication methods available (server sent: publickey, gssapi-keyex, gssapi-with-mic)

The reason I think/know for this problem is this: Last week, I removed some unwanted software via the GUI on the machine/box, which in turn probably removed some dependencies.

Using the same WinSCP/Putty (latest versions), I am able to connect to other servers without any problem whatsoever. I am certain it is not a problem with WinSCP or PuTTY!

Appreciate help greatly.

Status: 
Active

Comments

bislinks's picture
Submitted by bislinks on Fri, 02/27/2015 - 13:00 Pro Licensee

Even FTP fails on that machine

Howdy -- is it just one user you're having a problem with, or is it all users?

Also, is SSH configured not to accept password-based logins? It sounds as if it may be requiring an SSH key.

Regarding FTP -- what error do you receive when trying to access FTP?

bislinks's picture
Submitted by bislinks on Fri, 02/27/2015 - 13:23 Pro Licensee

all users, including root.

FTP: "Access denied" even after entering the correct password..

SSH: I did not make any changes to ssh settings on the server manually.

bislinks's picture
Submitted by bislinks on Fri, 02/27/2015 - 16:28 Pro Licensee

Got it.

PasswordAuthentication was set to no; Changed it to yes. Now, I am able to login via PuTTY/WinSCP

Thanks andreychek for the tip.

Great, I'm glad you can login via SSH!

Do you still need a hand with FTP?