github Github Clone Connection closed by remote host 今天遇到问题: 1 2 3 $ ssh -T git@github.com kex_exchange_identification: Connection closed by remote host 遇到这个问题一般为 22 被梯子警用了,解决办法为: 1 2 3 4 5 vi ~/.ssh/config Host github.com HostName ssh.github.com User git Port 443 参考材料: https://idreamshen.github.io/posts/github-connection-closed/