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.
繼續(xù)用 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, ... 就成功了。