Github 推送代码失败

周末在家写点代码,写完死活推不上去

kex_exchange_identification: Connection closed by remote host
Connection closed by 198.18.0.16 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

我以为是我挂了代理,github可能怀疑恶意用户不让我推代码。。。

实际是祖国更墙大了

Host github.com
    Hostname ssh.github.com
    Port 443
    User git

把上面代码加入到~/.ssh/config就好了