[Bug 501956] Re: OpenSSH does not log failed attempts when key authentication is used

2010-02-15 Thread Don Reid
auth_log in auth.c is not changing the error logging function from "authlog" to "logit" for this type of error (line 258). If you use "sshd start -dd" you will get the failed attempt clearly on the screen but NOT in auth.log. NB. Setting LogLevel to VERBOSE does show the failed attempts quite well

[Bug 304598] Re: OpenSSH does not log failed authentication attempts when PublicKey method is used

2010-02-18 Thread Don Reid
Hi, this seems to be the same bug as: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/501956 Regards, Don. -- OpenSSH does not log failed authentication attempts when PublicKey method is used https://bugs.launchpad.net/bugs/304598 You received this bug notification because you are a mem

[Bug 501956] Re: OpenSSH does not log failed attempts when key authentication is used

2010-02-18 Thread Don Reid
To summarize: LogLevel INFO RSAAuthentication yes PubkeyAuthentication yes HostbasedAthentication no ChallengeResponseAuthentication no PasswordAuthentication no AllowUsers lukeskywalker [1] The decision to log the error is made in procedure "auth_log" in "auth.c": /* Raise logging level */