[Bug 3736] sshd falls back to password prompt after PAM module returns a PAM_MAXTRIES.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Sep 23 19:58:33 AEST 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3736

--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to thibault.delmas from comment #3)
[...]
> I pasted my ssh config, I was under the impression that 
> PasswordAuthentication no
> did indeed disable password authentication.

It does, however the prompts look like passwordauthentication ones, and

(In reply to thibault.delmas from comment #1)
> This does not happen if the ssh client also specifies -o PasswordAuthencation=no

indicates it's not actually disabled.

Are you sure you're looking at the right config file location?  Using
sshd -T to dump the effective config will check that it's reading the
one you think it is:

$ sudo /usr/sbin/sshd -T | grep passwordauth
passwordauthentication yes

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list