kex_exchange_identification: read: Connection reset by peer
Connection reset by 20.205.243.166 port 22
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
继续用 SSH,但改端口到 443(绕过 22 被封的问题)
编辑 ~/.ssh/config 文件(没有就新建):
nano ~/.ssh/config
添加
Host github.com
HostName ssh.github.com
Port 443
User git
保存后测试:
如果输出 Hi xxx! You've successfully authenticated, ... 就成功了。