安装了 msysGit,编写了启动 ssh-agent 的代码.profile
,一切正常。
安装了 cygwin,没有 Git,只有 ssh 和 cURL。
当 Git bash 打开时 SSH 代理不再启动。
我可以启动一个新的 ssh-agent 进程实例,我在 Git bash 中运行时看到它ps
,但是在尝试使用时ssh-add
,我收到此错误:
Could not open a connection to your authentication agent.
使用 cygwin,在它的安装文件夹 (C:\cygwin) 中创建了许多.profile
文件.bashrc
。不确定这是否是问题所在。
请问我该如何解决这个问题?