Celeb Glow
updates | April 03, 2026

ssh: challengeresponseauthentication in 22.04 Ubuntu

I upgraded to 22.04 and used Duo with Pam from MFA. After the upgrade, I no longer see an option for ChallengeResponseAuthentication yes in /etc/ssh/sshd_config, and keyboard-interactive logins and Duo MFA no longer work.

1 Answer

Seems like the ChallengeResponseAuthentication option was replaced by KbdInteractiveAuthentication in /etc/ssh/sshd_config.

I just enabled 2FA with pam_google_authenticator.so as described in the Ubuntu Community Discourse.

Note that the config file says: "beware issues with some PAM modules and threads". So other PAM modules might not work.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy