How to identify user has login with which rsa key ?
Issue
- Why
/var/log/secure
does not shows or provide user rsa key information ? /var/log/secure
only shows following information
Jun 12 18:23:27 dhcp-abc sshd[1171]: Accepted publickey for root from xx.xx.xx.xx port 41116 ssh2
Jun 12 18:23:27 dhcp-abc sshd[1171]: pam_unix(sshd:session): session opened for user root by (uid=0)
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- OpenSSH ( All Versions )
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.