出现标题问题,打开:IPAddress.com ,有时会出现403禁止访问的错误,要点一下Go to Homepage
才行。输入:ssh.github.com
,得到IP地址:
140.82.113.36
140.82.114.35
修改本地hosts:
cd /etc
sudo gedit hosts
添加:
140.82.113.36 ssh.github.com
140.82.114.35 ssh.github.com
22端口无法连接:
ssh: connect to host github.com port 22: Connection timed out
curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接