102
dermetfan
14d

Found this in our repo…

Comments
  • 27
    How... How do people end up committing their private SSH key!?
  • 13
    @incognito They probably have no idea how it works and just followed a random tutorial on the Internet.
    It's insane.
  • 0
    Looks tasty
  • 7
    cat id_rsa < /dev/null | git commit -am "y'all st00pid" (or something like that)
  • 5
    @xewl git history though..

    However I think you might be able to go to that exact commit, change the key and --amend it to overwrite the history? Not sure....
  • 0
    @incognito I recall reading about that too
  • 5
    @incognito actually he should generate a new key and remove the old one from wherever he was using it, replacing with a new one. This one is already exposed anyway, so it's maybe pointless removing from the history.
  • 0
    Post them here ;)
  • 0
    @lucaspar well yeah duhh, I didn't mean to save his hold key from being leaked, I ment for cleaning up the git history 😉
  • 0
    I wonder if there were previous merge conflicts 😀
Your Job Suck?
Get a Better Job
Add Comment