Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bobbyi_settv
on June 2, 2015
|
parent
|
context
|
favorite
| on:
Auditing GitHub users’ SSH key quality
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
motoboi
on June 2, 2015
[–]
This of course can be rewritten as find ~/.ssh -name \*.pub -exec ssh-keygen -lf {} \;
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
find ~/.ssh -name '*.pub' -print0 | xargs -0 ssh-keygen -lf