Created
March 1, 2017 09:50
-
-
Save dober/8b0cdca09d486abc7c01cfb263e79c82 to your computer and use it in GitHub Desktop.
get all fingerprints for .ssh/authorized_keys file
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
while read l; do | |
[[ -n $l && ${l###} = $l ]] && ssh-keygen -l -f /dev/stdin <<<$l; | |
done < .ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment