使用命令:ssh-add 时,出现 “Could not open a connection to your authentication agent.”

Posted 一轮明月随潮涌

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用命令:ssh-add 时,出现 “Could not open a connection to your authentication agent.”相关的知识,希望对你有一定的参考价值。

为 GitHub 账号设置 SSH Key时, 使用命令:ssh-add,出现“Could not open a connection to your authentication agent”,解决办法:

先运行命令:

ssh-agent bash

再运行:

ssh-add

以上是关于使用命令:ssh-add 时,出现 “Could not open a connection to your authentication agent.”的主要内容,如果未能解决你的问题,请参考以下文章