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


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)”


Any suggestions?


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