no logging in auth.log when using wrong ssh keys
djm at mindrot.org
Tue Apr 20 07:48:28 EST 2010
On Mon, 19 Apr 2010, Hans Harder wrote:
> I have in the sshd_config the following to disable password authentication
> Match Group dummies
> PasswordAuthentication no
> KbdInteractive no
> Normally I use denyhosts to detect incorrect logins, but it seems that
> failed sshkey logins are not logged in auth.log
> And I really like to have them in order to detect them and use the
> denyhosts script.
> Looked in the last nightly builds, but it seems that only method '
> password' is being logged.
> So I added one line, so that also failed publickey logins are being
> logged in auth.log
You could just use loglevel=vebose
More information about the openssh-unix-dev