github问题

github问题

1
2
3
4
5
6
kex_exchange_identification: Connection closed by remote host
Connection closed by 20.205.243.166 port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

From stackoverflow.com : For fixing the issues add the Hostname for Git on ~/.ssh/config,

1
2
3
Host github.com
 Hostname ssh.github.com
 Port 443

In my case github!