Skip to content

Instantly share code, notes, and snippets.

@Deadlyelder
Created August 23, 2017 11:19
Show Gist options
  • Select an option

  • Save Deadlyelder/d3f509b4c304c67cf2b4bec4630f0d2a to your computer and use it in GitHub Desktop.

Select an option

Save Deadlyelder/d3f509b4c304c67cf2b4bec4630f0d2a to your computer and use it in GitHub Desktop.
Quick check to list the SSH keys on a Linux machines
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