0
我试图运行命令“混帐克隆xxx.git”,并显示错误:混帐克隆错误
ssh: connect to host port codebasehq.com 22: bad file number
这是怎么回事?我可以做什么样的测试来找出问题所在?
我试图运行命令“混帐克隆xxx.git”,并显示错误:混帐克隆错误
ssh: connect to host port codebasehq.com 22: bad file number
这是怎么回事?我可以做什么样的测试来找出问题所在?
我的问题的解决方案是建立在CONFIG文件夹中的文件。 ssh与以下内容:
Host codebasehq.com User git Hostname ssh.codebasehq.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa Port 443
如果你在工作,这可能是你的代理错误(即你没有正确设置)。
参见:
git SSH problem bad file number
和
Another SSH problem bad file number post
什么平台? – CharlesB 2012-04-13 17:09:00
windows server 2008 R2 Datacenter – 2012-04-13 17:31:20