在windows平台下使用mygit软件连接github时,Bad file number问题?
在windows平台下使用mygit软件连接github时,按照github官网上的Set Up Git一步一步来的时候,到$ ssh -T git@github.com时,显示:ssh: connect to host github.com port 22: Bad file number。这是为什么?
使用-v参数查看时,显示:
debug1: Applying options for github.com
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: connect to address 207.97.227.239 port 22: The network can't be reached from this host at this time
同时我还想问一下,那个SSH中的config文件该如何填写?
[解决办法]
楼主看看你本机22端口有没有打开