Let's say I want to track my root
users. Each of them has a unique private key and their public keys have been stored in /root/.ssh/authorized_keys
.
Given that each user logs in with their unique key how can I tell from within a BASH session which key was used to authenticate? I've tried looking at the environment variables when I log in but cannot see anything that correlates my session with my public key.