find ~/.ssh -name '*.pub' | xargs ssh-keygen -lf
Here's a simple bash function to check all your GitHub keys: 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
}
Invoke as: check_github_keys <username>
I'm sure there's a better way to write that one though! XMLHttpRequest cannot load http://api.coffeestrap.com/api/v1/users/xxxxxxxxxxxxxx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://boards.coffeestrap.com' is therefore not allowed access.
The site also tends to go into 404 redirect loops which eventually crash the tab. Not sure if that's related to the above. This is happening loading http://boards.coffeestrap.com/ in an incognito tab.
But if 1 piece of machinery really is that critical to your business, you'll have an identical standby ready to go when your primary one eventually craps out.
I've decided to let Apple handle inventorying my standby machine. I can walk into an Apple store and 5 minutes later be ready to go again. Then the high resale value of my old machine makes it easy to sell on craigslist.