Could not open a connection to your authentication agent

执行ssh-add时出现Could not open a connection to your authentication agent

在执行 ssh-add ~/.ssh/id_ras 时发生此错,

执行如下命令 ssh-agent bash
然后再执行 ssh-add ~/.ssh/id_ras 即可。

你可能感兴趣的:(Could not open a connection to your authentication agent)