Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are numerous IP's that are reported for github.com. The easiest way to remove all of the offending known_host entries appears to be:

  sed -i.github-removed '/AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa/d' ~/.ssh/known_hosts


Thank you so much for this shortcut, I was trying a way to find all of the bad known_host entries and this did the trick!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: