find ~/.ssh -name '*.pub' | xargs ssh-keygen -lf
function check_github_keys { username=$1 i=0 curl -sw "\n" "https://github.com/${username}.keys" | while IFS="\n" read -r line ; do tmp=`mktemp -t githubkey`; echo "$line" > $tmp res=$(ssh-keygen -lf $tmp) rm $tmp ((i=i+1)) echo "${username}.keys:${i} ${res/ $tmp/}" done }
check_github_keys <username>
find ~/.ssh -name '*.pub' -print0 | xargs -0 ssh-keygen -lf