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_rsa即可。

Share