Hacker News new | ask | show | jobs
by lanna 3532 days ago
This is what you can do to restore your GitHub access:

    grep github ~/.ssh/known_hosts
    sudo vim /etc/hosts
    sudo killall -HUP mDNSResponder
    ping github.com
3 comments

I added

192.30.253.112 github.com

but https://assets-cdn.github.com is failing

EDIT: Use 192.30.253.112 github.com 151.101.24.133 assets-cdn.github.com

or try 8.8.8.8 DNS

Why am I being downvoted for providing useful information? I don't understand HN...
Probably because you say to edit /etc/hosts but not what the content should be.
Is it hard to guess? The output of grep isn't a hint?
…except they did though, at least if you've sshed into github at some point (which I think nearly everyone has).
If you're attempting to understand the behavior of individual users of HN as a collective, I can assure you that your initial principles are hampering you greatly.
Not sure if people aren't OK with the content but you've posted it twice, which is not really cool with most people or the guidelines.

Also probably the "hijacking top comment" part.

The other occurrence being here: https://news.ycombinator.com/item?id=12760156

May not be HN doing the downvotes my friend.
seems like the right thing to do. however the ip address itself won't respond either