13

我已经启动了 ssh-agent:

$ ssh-agent.exe
SSH_AUTH_SOCK=/tmp/ssh-LagrQoD3JRqg/agent.3600; export SSH_AUTH_SOCK;
SSH_AGENT_PID=7784; export SSH_AGENT_PID;
echo Agent pid 7784;

接下来我尝试添加一个密钥:

$ ssh-add /cygdrive/h/mykey.pem

我得到的回应是:

Could not open a connection to your authentication agent.
4

0 回答 0