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

cd /etc/hosts

末行增加github域名映射

140.82.113.4 github.com

 References:

https://zhuanlan.zhihu.com/p/521340971

你可能感兴趣的:(linux,github,ssh)