FS#3107 — FS#7060 - Debian: Incorrect SSH authentication log
Attached to Project— Distributions/OS
Incident | |
Linux | |
CLOSED | |
![]() |
Under Debian 6 (confirmed on the latest version 6.0.5) when you connect via SSH with the wrong key, the daemon logs the following message:
Authentication tried for root with correct key but not from a permitted host (host=AAAA, ip=XXXX).
The message is wrong since the key is not valid.
The bug appeared on Fedora and was corrected since: https://bugzilla.redhat.com/show_bug.cgi?id=66697
Date: Saturday, 04 August 2012, 06:25AMAuthentication tried for root with correct key but not from a permitted host (host=AAAA, ip=XXXX).
The message is wrong since the key is not valid.
The bug appeared on Fedora and was corrected since: https://bugzilla.redhat.com/show_bug.cgi?id=66697
Reason for closing: Done
A pist : The logit does not match auth_debug_add
auth-options.c
ligne 515
case 0:
/* no match */
logit("Authentication tried for %.100s "
"with valid certificate but not "
"from a permitted host "
"(ip=%.200s).", pw->pw_name,
remote_ip);
auth_debug_add("Your address '%.200s' "
"is not permitted to use this "
"certificate for login.",
remote_ip);
xfree(allowed);
goto out;