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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content