public key authentication -- log invalid keys

Damien Miller djm at
Tue Apr 29 14:30:42 EST 2014

On Mon, 28 Apr 2014, TheGezer wrote:

> OK so i've been doing some digging and a bit more testing.  seems i do
> get an error but only in verbose loglevel.
> but I have to increase LogLevel to verbose to only get
> " [sshd] Failed publickey for root "

OpenSSH since 6.3 logs the key for success and failure at LogLevel=verbose:

Apr 29 14:27:35 fuyu sshd[11783]: Failed publickey for djm from port 45142 ssh2: ECDSA c9:e8:d5:d6:ed:59:fe:10:52:e4:4f:95:13:e8:fd:01

More information about the openssh-unix-dev mailing list