解决ssh: connect to host github.com port 22: Connection refused

vim ~/.ssh/config
Host github.com  
User xxxxx@xx.com  
Hostname ssh.github.com  
PreferredAuthentications publickey  
IdentityFile ~/.ssh/id_rsa  
Port 443
Logo

更多推荐