簡體   English   中英

無法在 Windows 10 上使用 Git Bash 啟動 SSH 代理

[英]Can't start SSH Agent with Git Bash on Windows 10

我在 Git Bash 中執行了以下命令,它返回以下錯誤。

$ eval $(ssh-agent -s)
      1 [main] ssh-agent 1564 child_info_fork::abort: \??\C:\Program Files\Git\usr\bin\msys- 
crypto-1.1.dll: Loaded to different address: parent(0x8A0000) != child(0x910000)
fork: Resource temporarily available

我也試過重新啟動我的系統,這沒有任何好處。

如果可能的話,任何想法這個問題是關於什么的,或者如何解決它?

提前致謝! 😉👍

確保首先在 CMD 會話中:

那是:

set GH=C:\path\to\git
set PATH=C:\windows\system32;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%GH%\mingw64\libexec\git-core;%PATH%

然后,在同一個 CMD 會話中,輸入git bash

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM