Re:Auditing GitHub users’ SSH key quality
by morganm on Tuesday June 02, 2015 @01:44PM
(#9647565)
Not better, but could also be written as:
Here's a simple bash function to check all your GitHub keys:
Invoke as:
I'm sure there's a better way to write that one though!
[ Parent
| on HN ]
Re:Auditing GitHub users’ SSH key quality
by bobbyi_settv on Tuesday June 02, 2015 @03:11PM
(#9648221)
Your initial "find" version would be better if it used print0 because it would avoid failing on files with spaces in their names:
find ~/.ssh -name '*.pub' -print0 | xargs -0 ssh-keygen -lf