Displaying 1 result from an estimated 1 matches for "authmaxtri".
Did you mean:
authmaxtries
2014 Jun 25
5
[Bug 2249] New: sshd ignores PAM_MAXRETRIES pam return value
...sshd ignores this and does try again. Pam keeps
a count of failed attempts and on cleanup, when this count is higher
than the max retries, it emits a message to syslog:
Jun 24 02:23:42 login sshd[4821]: PAM service(sshd) ignoring max
retries; 6 > 3
This can be worked around by setting AuthMaxTries to 3 in sshd_config,
but it seems that sshd should really listen to pam and handle the
PAM_MAXRETRIES result by not allowing further retries.
I've observed this behaviour on 6.0p1, but looking at the source for
6.6p1 it looks like PAM_RETRIES isn't handled there either. I couldn't
fi...