使用命令: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

posted @ 2017-11-26 17:26  一轮明月随潮涌  阅读(1626)  评论(0编辑  收藏  举报