Quantcast
Channel: Disconnected no supported authentication methods available - Server Fault
Viewing all articles
Browse latest Browse all 2

Disconnected no supported authentication methods available

$
0
0

Yes, I'm aware questions like this already exist, and I've already checked quite a few out, but the methods were unable to help me. I am running CentOS 6 on my VPS. This error occurs when I try to log into the username while connecting with PuTTY.

I am trying to log into a user. The path is /home/[name]. Here are my sshd_config settings (it's not on default port):

PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_key
PasswordAuthentication no
ChallengeResponseAuthentication no

The authorized_key contains the public key. I am relatively new to Linux, so any tips would be appreciated.

EDIT: I've tried adding the private key to PuTTY, and now it just says "Server refused our key", and the same error message pops up.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images