博客bug
1、ssh: connect to host github.com port 22: Connection timed out
原因:22端口被占用
解决:在.ssh下面建立config文件,内容如下:注意congig无后缀名!(可以直接复制另外两个无后缀名的文件然后直接改内容即可)
1 | Host github.com |
最后使用下列代码验证,出现You've successfully authenticated, but GitHub does not provide shell access.,则成功连接。
1 | ssh -T git@github.com |
评论

