Skip to content

Instantly share code, notes, and snippets.

@pcurylo
Created January 3, 2017 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcurylo/2fb868b901a2d356728c16ee384190c8 to your computer and use it in GitHub Desktop.
Save pcurylo/2fb868b901a2d356728c16ee384190c8 to your computer and use it in GitHub Desktop.
Check SSH key lengths
#!/bin/bash
files=$@
for keyfile in $files; 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