终于从XP更新到Win7。
我正在使用添加了Tinywall的Windows防火墙(具有更多控制权)
但是当我使用Git Bash时,防火墙会阻止所有命令。如果我禁用防火墙,那么一切正常
我无法确定要添加到TinyWall白名单中的适当例外。
我为应用程序异常添加了shell窗口以及git.exe,但仍然行不通。我添加的这些例外程序路径:
C:\Program Files (x86)\Git\git-cheetah\..\bin\sh.exe
C:\Program Files (x86)\Git\bin\git.exe
错误示例:
$ git pull
ssh: connect to host xxx.xxx.xxx port 22: Bad file number
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
要使TinyWall通过SSH与git一起使用,您必须将白名单列出:
sh.exe
git.exe
ssh.exe
要通过HTTPS使用git,您只需要白名单:
C:\Program Files (x86)\Git\libexec\git-core\git-remote-https.exe
要么
C:\Program Files\Git\mingw64\libexec\git-core\git-remote-https.exe
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句