执行ssh-add时出现Could not open a connection to your authentication agent
来源:互联网 发布:整型数据 true 编辑:程序博客网 时间:2024/04/27 21:01
SSH private-keys are usually stored encrypted on the computers they are stored on. A pass-phrase is used to decrypt them when they are to be used. Since most people use SSH public-private key-pairs to get around typing in passwords all the time, the ssh-agentdaemon exists to store decrypted private-keys you plan on using in a given session. The thing most people get tripped up on when using ssh-agent is that what the program outputs, some borne or csh shell commands, needs to be run. It may look like ssh-agent has set some variables for you, but it has in fact done no such thing. If you call ssh-add without processing ssh-agent’s output, it will complain it is unable to open a connection to your authentication agent. The most straightforward way to run ssh-agent on the command line is as follows: eval `ssh-agent`. After doing this, calls to ssh-add should succeed without error.
执行ssh-add ~/.ssh/rsa
报标题上的错误
先执行 eval `ssh-agent` (是~键上的那个`) 再执行 ssh-add ~/.ssh/rsa成功
ssh-add -l 就有新加的rsa了
- 执行ssh-add时出现Could not open a connection to your authentication agent
- 执行ssh-add时出现Could not open a connection to your authentication agent
- 执行ssh-add时出现Could not open a connection to your authentication agent
- 执行ssh-add时出现Could not open a connection to your authentication agent
- windows ssh-add Could not open a connection to your authentication agent.
- Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent.
- Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent.
- 配置gitssh出现Could not open a connection to your authentication agent.
- 在windows的git上用ssh-add添加私钥id_rsa报错——Could not open a connection to your authentication agent.
- Github Error: Could not open a connection to your authentication agent
- GitHub Windows Could not open a connection to your authentication agent.
- Git 报错Git Bash: Could not open a connection to your authentication agent
- Windows下配置Git报错:Could not open a connection to your authentication agent.
- git:could not open a connection to your authentication agent问题的解决(重新绑定私钥)
- DBLP数据集调研
- Bitmap、CBitmap、HBITMAP以及BITMAP的相互转换
- Sql Server 数据库之间如何进行跨网远程连接访问
- 菜鸟进阶的一些感悟
- Maven插件之maven-shade-plugin
- 执行ssh-add时出现Could not open a connection to your authentication agent
- 小说《猛男诞生记 》完整版 全文免费阅读
- hexo框架基于next主题定制
- SI3402新一代PD受电端单芯片整体解决方案
- 服务器推送技术
- jQuery.isEmptyObject() 函数详解
- 将本地项目仓库推到远程GitHub步骤
- pycharm使用及设置方法
- 用opencv 与qt打开raw图,以及四通道输出