Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git ssh:连接到主机端口22错误文件号;拉不动_Git_Ssh_Putty - Fatal编程技术网

git ssh:连接到主机端口22错误文件号;拉不动

git ssh:连接到主机端口22错误文件号;拉不动,git,ssh,putty,Git,Ssh,Putty,我刚刚在我的电脑上安装了一个新的Windows7家庭高级版,想重新建立与Git服务器的连接。因此,我将旧安装中的旧.shh文件夹复制到C:\users\user.ssh中,包括一个id\u rsa、id\u rsa.pub、已知的主机和一个key.ppk。一切都在旧系统中运行。之后,我尝试通过Putty和Git-Bash进行连接,但都失败了。Putty刚刚提供了一个cryptik连接超时Git Bash返回: ssh:concet到主机xxx.xx.xx.xx端口22:错误的文件号 致命:无法从

我刚刚在我的电脑上安装了一个新的Windows7家庭高级版,想重新建立与Git服务器的连接。因此,我将旧安装中的旧.shh文件夹复制到C:\users\user.ssh中,包括一个id\u rsa、id\u rsa.pub、已知的主机和一个key.ppk。一切都在旧系统中运行。之后,我尝试通过Putty和Git-Bash进行连接,但都失败了。Putty刚刚提供了一个cryptik连接超时Git Bash返回:

ssh:concet到主机xxx.xx.xx.xx端口22:错误的文件号 致命:无法从远程存储库读取

谷歌没有返回任何真正有用的东西,因为服务器无法阻止该端口。我无法更改为https连接,需要使用ssh。关闭windows防火墙也无济于事

我希望有人能帮我,向我问好,
mhwh

问题自行解决-我不知道为什么,但现在一切都正常工作,同时安装了Skype和一些Windwos更新,但我不是舒尔,这可能会对git系统造成什么影响…

我也遇到过此类问题。解决方案是启动Windows Update服务: