Putty error: No supported authentication methods available (server sent: keyboard-interactive)

February 22, 2019 464 views
Nginx Ubuntu 18.04

Hi all, I have a droplets using Ubuntu 18.04 and nginx and I want add two factor authentication (Google PAM).
I have following this tutorial (https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-16-04), I know this was not appropriate Ubuntu version, but I have searched another tutorials and found them having same steps.

After installing Google PAM and configure the configuration file, this line makes me error every time I did ssh via Putty: AuthenticationMethods publickey,password publickey,keyboard-interactive
and gave me error message: Putty error: No supported authentication methods available (server sent: keyboard-interactive)

I just confused because other people having trouble with no supported authentication methods, server sent: publickey not keyboard-interactive. And others said because login with non-root user. Please help me I'm stuck :(

1 comment
1 Answer
Have another answer? Share your knowledge.