I have an SSH key that I use almost every day and I recently noticed that I haven't had to unlock it in a long while. I don't always shut down my computer and so it is fairly common that ssh-agent is already running when I access a server. But I've now confirmed that actually I'm never being asked for a password.
I feel a little bit like I've lost my mind, because ...
ps aux | grep agentdoesn't show
ssh-keygen -yasks for a password but the password I expect doesn't work.
ssh firstname.lastname@example.org immediately.
There's nothing especially sensitive at stake right now, though that's temporary.
What should I be looking for here? How is my key working without a passphrase, even after a restart? I'm assuming I did something here, but how can I figure out what I did?
Per the comments, I did run
echo $SSH_AUTH_SOCK and I see
lsof /run/user/1000/keyring/ssh isn't returning anything, though, so I don't know what is opening it.
How do I ensure that my key isn't just hanging out unlocked?