Displaying 1 result from an estimated 1 matches for "key_comment_here".
2002 Nov 20
1
Key comment to syslog on login
...hentication.
At the moment I get.
Nov xx xx:xx:xx hostname sshd[pid]: Accepted publickey for root from xxx.xxx.xxx.xxx port xxxxx ssh2
If this could be changed to log the key comment as stored in
~/.ssh/authorized_keys... something like
Nov xx xx:xx:xx hostname sshd[pid]: Accepted publickey "key_comment_here" for root from xxx.xxx.xxx.xxx port xxxxx ssh2
then I could let other admins log in as root using public key
authentication and still have an audit trail of who logged in due to the
key comments.
Perhaps the syslog message should include the key fingerprint too/instead
of the key_comment. ie...