Created
August 23, 2017 11:19
-
-
Save Deadlyelder/d3f509b4c304c67cf2b4bec4630f0d2a to your computer and use it in GitHub Desktop.
Quick check to list the SSH keys on a Linux machines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for keyfile in ~/.ssh/id_*; do ssh-keygen -l -f "${keyfile}"; done | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment