ssh:connect to host github.com port 22: Connection timed out
方法1:修改.ssh/config
文件的端口为443
Host *
ServerAliveInterval 60
Host github.com
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443