I find I have a lot of SSH keys on my account, but I'm not really sure where they're all from. Being able to see a list of when they were last used and what IP addresses used them would be good for finding old and unused SSH keys (so I can remove them).
Description
Description
Revisions and Commits
Revisions and Commits
Related Objects
Related Objects
- Mentioned In
- T13046: Surface repository pull logs in the web UI
T11951: Make conduit more secure - Mentioned Here
- D11543: Proxy VCS SSH requests
Event Timeline
Comment Actions
We can do this in bin/ssh-auth by adding a --phabricator-ssh-key parameter into the commands we construct. This will then be passed to bin/ssh-exec, which can read it and write log information.
Comment Actions
I believe this has been supported since D11543, in 2015. Specifically, log.ssh.format supports %k, and it appears to work as expected.