Created
August 6, 2015 14:19
-
-
Save xcambar/dec8cbff2fc497bd8502 to your computer and use it in GitHub Desktop.
A quick look on your SSH keys - Displays the filename, owner, size and algorithm used.
This file contains 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
find ~/.ssh -name *.pub -exec \ | |
sh -c 'echo "$1" `ssh-keygen -l -f "$1"`' _ {} \; \ | |
| awk -F" " -v OFS=" " '{$3="";tmp=$2;$2=$4;$4=tmp;print}' \ | |
| column -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment