Logging of authorized keys

Noel J. Bergman noel at devtech.com
Wed May 12 06:03:55 EST 2004


It is possible for ~user/.ssh/authorized_keys to have multiple entries.  It
would be quite helpful if openssh would enhance the log to indicate WHICH
key was accepted, not just that a key was accepted.

In other words, would you please modify:

 $TIMESTAMP $HOST sshd[$PID]: Accepted publickey for $USER from $IP port
$PORT $PROTOCOL

to add an indication (e.g., the comment field) as to which key was used:

 $TIMESTAMP $HOST sshd[$PID]: Accepted publickey ($COMMENT) for $USER from
$IP port $PORT $PROTOCOL

	--- Noel




More information about the openssh-unix-dev mailing list