Repository navigation
SSH not showing MFA prompts #1776
|
Hi, I'm after some help... I've got Himmelblau working on SLES 15 and Ubuntu 24.04 but am having trouble getting it to work on Alma 8 (yes I know it's old!). Using I've seen a couple of issues related to this and the consensus is that it's usually a SSH / PAM config issue - which makes sense. However I can't see what's wrong. I've verified that the SSH config is picking up the For PAM I've tried adding the The config is: I'm running v4.0.4. I did try installing the nightly build but it failed to install as nothing provides libc.so.6(GLIBC_2.28)WEAK. My pam ssh file is: The password-auth file: I'd appreciate any assistance. Thanks in advance... |
Replies: 1 comment 1 reply
|
On Alma 8 the setting that matters is EL8 ships OpenSSH 8.0. In that version, keyboard-interactive (the method that can show Himmelblau's MFA prompt and number) is only handed to PAM if if (options.challenge_response_authentication)
authenticated = auth2_challenge(ssh, devs);
so keyboard-interactive is refused and the client falls back to Himmelblau's Fix: edit and then: sshd -t && systemctl restart sshd
sshd -T | grep -Ei 'challengeresponse|kbdinteractive|usepam'You want |
On Alma 8 the setting that matters is
ChallengeResponseAuthentication, notKbdInteractiveAuthentication.EL8 ships OpenSSH 8.0. In that version, keyboard-interactive (the method that can show Himmelblau's MFA prompt and number) is only handed to PAM if
ChallengeResponseAuthenticationis on. Fromauth2-kbdint.cin 8.0p1:KbdInteractiveAuthenticationalready defaults toyesin 8.0, so seeing it set tells you nothing. Only from 8.7 on didChallengeResponseAuthenticationbecome an alias of it, which is why it works on Ubuntu 24.04 and SLES. EL8's stock/etc/ssh/sshd_confighas