Free Github SSH keys anyone?
github.com
github.com
edit: In fact, they should probably run a full search for such files now and email a heads-up to users with repos that produce hits.
Github has published instructions on how to actually purge sensitive data that's been accidentally committed: https://help.github.com/articles/remove-sensitive-data
(I flagged, also, because this should be told to the guys at Github, not out in the open.)
Oh, and of course, Google indexes them. Fantastic.
https://www.google.com/search?q=site%3Agithub.com+inurl%3A.s...
Same thing, right?
$ git add .ssh
$ git commit $ git add .
$ git commit # git add /
# git commit -m 'omg im on the internet'Seriously - why? Your public key, sure, but the entire directory?
There are many examples like this.
But of course you also want to be real careful about authenticating them (a signed tag in Git can serve that purpose).