首页 > 解决方案 > ssh(突然)在 Windows Git Bash 中不可用

问题描述

嘿,我是 Windows 中的 anaconda + Git Bash 用户,经过一些 Windows 系统更新后,我发现我的 git bash 无法再运行 ssh。这是错误

$ ssh 0 [main] ssh (5464) C:\Users\usrname\miniconda3\Library\usr\bin\ssh.exe: *** fatal error - cygheap base mismatch detected - 0x180340408/0x180331408. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL.

我在我的系统中搜索了该cygwinl.dll文件,但它不存在。我也跟着这个问题 ,他们都没有任何区别。令人惊讶的是,在 windows powershell 和 cmd 中,ssh 工作正常。所以问题只是 git Bash。我仍然深爱 Git bash(使我的 git、coda 与 ssh 一致),所以知道如何修复它吗?

顺便说一句,我也尝试重新安装 git bash,完全没有区别。

标签: git-bash

解决方案


这可能是要删除的 ASLR 设置地址空间布局随机化

为了解决这个问题:

  • 打开漏洞利用保护设置,
  • 切换到程序设置选项卡和
  • 添加错误中列出的可执行文件名称(您可能有很多)。

推荐阅读