How to identify user has login with which rsa key ?

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.