Logging of wrong pubkey auth

Jan Gehring pr0gm4 at linoratix.com
Thu Jul 15 18:08:58 EST 2004


Darren Tucker <dtucker at zip.com.au> wrote: 
> Jan Gehring wrote:
> > + 	if(! allowed) {
> > + 		logit("Illegal user %.100s from %.100s",
authctxt->user,get_remote_ipaddr());
> 
> "Illegal user" has a different meaning to "this particular 
> authentication failed".
> 
> Anyway, this wouldn't this be logged in auth.c:auth_log() (subject to 
> the thresholds in there) ?

Well, you're right. 
Seems i have overlooked this function.

Imho, it should have been logged.

Best regards,
Jan Gehring




More information about the openssh-unix-dev mailing list