ssh: connect to host github.com port 22: Connection timed out

git链接超时处理:git 1. 首先找到git的安装目录,找到/etc/ssh/ssh_config文件github 2. 用notpad++打开,在文件末,加入:ssh Host github.com User git Hostname ssh.github.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa Po
相关文章
相关标签/搜索