cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4722
Views
0
Helpful
3
Replies

CentOS 7.x and SSH integration - error "No Supported Authentication Methods"

terry.cutler
Level 1
Level 1

I’m new to Duo and looking to understand it.

I’ve followed the instructions at Duo Unix - 2FA for SSH with PAM Support (pam_duo) | Duo Security

I’ve successfully integrated with Ubuntu for both a local privileged access and via SSH.

However, when attempting similar with CentOS 7.x, I keep running into an issue. The local console privileged access works as expected with the Duo options. When I attempt to connect via SSH using PuTTY with Windows, I get the error “Disconnected: No supported authentication methods available (server sent: publickey)”

1X_6ded9e2b2a501b50c281c754b30eedf85ce8732d.png

Any suggestions?

3 Replies 3

stacybrock
Level 1
Level 1

How do you have the auth directives in /etc/pam.d/password-auth-ac configured?

Hello Stacybrock, what setting are need for password-aut-ac? I just had this issue after reboot my centos 7

Ahmad_Barhoush
Level 1
Level 1

Did you guys manage to solve this ?
I’m facing the same problem, it was working fine with Duo but after i rebooted the machine this error showed up !

Quick Links