TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SSH Keys on GitHub

98 pointsby MichaelTiesoalmost 10 years ago

13 comments

Guyagalmost 10 years ago
Personal favourite <a href="https:&#x2F;&#x2F;github.com&#x2F;valeriangalliat&#x2F;dotfiles&#x2F;blob&#x2F;b227cf9b252f3c8c43a776bc20e1f1b5d0acfc13&#x2F;src&#x2F;ssh&#x2F;id_rsa" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;valeriangalliat&#x2F;dotfiles&#x2F;blob&#x2F;b227cf9b252...</a>
akerl_almost 10 years ago
I feel like this gets posted every other month or so. I appreciate the awareness, but it doesn&#x27;t seem like there&#x27;s much new discussion or debate to have on the matter: folks continue to be a bit more careless with credentials than they ought to be &#x2F; don&#x27;t think about what pushing something to a public site means &#x2F; etc, it would rock if GitHub was more proactive about messaging affected users, it sucks that it&#x27;s hard to safeguard against this via technical means.<p>If anything, I&#x27;d love to see somebody do a blog post instead about how they started scraping these results and&#x2F;or the commit data firehose and messaging users who posted credentials
评论 #10080827 未加载
评论 #10080453 未加载
mosburgeralmost 10 years ago
Hmmph. I just found a bunch of free AWS keys by searching for amazon.yml, too.<p>What is the best way to share things like API keys among a team of developers, anyway? I&#x27;m surprised this hasn&#x27;t been solved already (perhaps it has and I just don&#x27;t know about it). I know you can share passwords with tools like LastPass and 1Password, and I suppose you could use those for API keys as well?<p>It&#x27;d be nice if you could, e.g., include a gem in a Rails project, get a single key&#x2F;password&#x2F;token from one of the team members on that project, and use that w&#x2F; a third party API to set all the requisite API keys for all the third party services used on a project. You could also rotate the master password when team members leave the group.
评论 #10080983 未加载
评论 #10081061 未加载
评论 #10081099 未加载
评论 #10081093 未加载
评论 #10081065 未加载
评论 #10080949 未加载
daenneyalmost 10 years ago
I see your SSH keys and raise you a .netrc: <a href="https:&#x2F;&#x2F;github.com&#x2F;search?p=1&amp;q=filename%3Anetrc&amp;ref=searchresults&amp;type=Code&amp;utf8=" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?p=1&amp;q=filename%3Anetrc&amp;ref=searchr...</a>
bagelsalmost 10 years ago
Does Github have a responsibility to help people out with this kind of thing? What do you all think?
评论 #10080207 未加载
评论 #10079892 未加载
评论 #10079921 未加载
评论 #10080078 未加载
评论 #10080548 未加载
评论 #10081221 未加载
评论 #10079916 未加载
jnevillalmost 10 years ago
You can search out private GPG keys as well, which is crazy-bananas. <a href="https:&#x2F;&#x2F;github.com&#x2F;search?utf8=%E2%9C%93&amp;q=filename%3Aasc+BEGIN+PGP+PRIVATE+KEY+BLOCK&amp;type=Code&amp;ref=searchresults" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?utf8=%E2%9C%93&amp;q=filename%3Aasc+BE...</a>
评论 #10080537 未加载
avinasshalmost 10 years ago
And if you want to get the public key also:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;&lt;username&gt;.keys" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;&lt;username&gt;.keys</a><p>ex.: <a href="https:&#x2F;&#x2F;github.com&#x2F;avinassh.keys" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;avinassh.keys</a>
评论 #10088654 未加载
geographomicsalmost 10 years ago
Looks like they&#x27;ve blocked it now. Searching via Google still works though: <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=site%3Agithub.com+inurl%3Aid_rsa" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=site%3Agithub.com+inurl%3Aid...</a>
评论 #10081089 未加载
评论 #10080994 未加载
orbjuicealmost 10 years ago
They have blocked the search for private keys (id_rsa) but they still need to block the search for public keys (id_rsa.pub); they&#x27;re usually stored together anyway. I just did this search.
评论 #10080919 未加载
H2CO3almost 10 years ago
Update: This is no longer working: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;uT1fCRT" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;uT1fCRT</a>
评论 #10081602 未加载
allworknoplayalmost 10 years ago
This is matching both &quot;id&quot; and &quot;rsa&quot; individually as well, so not all results are actually files with id_rsa in the name.<p>Example: <a href="https:&#x2F;&#x2F;github.com&#x2F;search?utf8=%E2%9C%93&amp;q=filename%3Aid_rsa+whatever&amp;type=Code&amp;ref=searchresults" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?utf8=%E2%9C%93&amp;q=filename%3Aid_rsa...</a>
adeleviealmost 10 years ago
I&#x27;d love to see an open source project around scanning the GitHub API and subscribing to alerts for your org&#x27;s repos.
xiataalmost 10 years ago
People always forget about the other keys...<p>filename:id_ed25519 filename:id_rsa filename:id_dsa filename:id_ecdsa