Aaron Jones
2021-Mar-07 08:50 UTC
Feature Request: Allow sshd(8) to log public key comments
Hello. I would like a way to indicate to sshd(8) that it should log the public key comment (from AuthorizedKeysFile / AuthorizedKeysCommand) in addition to, or instead of, the public key fingerprint, when printing the key details to syslog, during logging of the "Accepted publickey for ..." message. Obviously this would require some sanitisation, such as a reasonable maximum length. Note that if this is implemented, the sshd(8) manpage will have to be updated, as it currently states that the "comment field is not used for anything". Regards, Aaron Jones -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20210307/876511cd/attachment.asc>