git-bash - 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,完全没有区别。
解决方案
这可能是要删除的 ASLR 设置(地址空间布局随机化)
为了解决这个问题:
- 打开漏洞利用保护设置,
- 切换到程序设置选项卡和
- 添加错误中列出的可执行文件名称(您可能有很多)。
推荐阅读
- java - Class.forName("oracle.jdbc.OracleDriver"); 生成异常:java.lang.ClassNotFoundException
- powershell - Powershell:当事件处理程序在 for 循环内时,复选框更改事件不会给出有效结果
- solr - Solr 备份在指定位置时不起作用
- python - 熊猫,复制具有多个值的每一行
- swift - 无法将“NSImageInterpolation.Type”类型的值转换为预期的参数类型“[NSImageRep.HintKey: Any]?”
- discord.js - 如何将变量放入参数中?
- ruby-on-rails - Rails - 使用 2 个模型按日期范围过滤
- ios - 关于有限查询参考的 keepSynced(true) 的一些问题
- node.js - Nodemon 不工作:[nodemon] 由于更改而重新启动
- javascript - 在 TypeScript 中使用 createStyles 证明内容