Could not open a connection to your authentication agent
执行ssh-add ~/.ssh/rsa 就会遇到上述错误了
解决方案:
先执行 eval `ssh-agent` (是~键上的那个`)
再执行 ssh-add ~/.ssh/rsa成功
ssh-add -l 就有新加的rsa了
然后就可以clip ~/.ssh/id_rsa.pub了,然后paste到github上
reference:
http://blog.chinaunix.net/uid-22355887-id-3342499.html
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. 需要执行以下代码 eval `ssh-agent -s` ssh ...
- 执行ssh-add时出现Could not open a connection to your authentication agent
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open ...
- 已解决:Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed:
1.问题描述 在部署k8s时,有个步骤需要设置centos机器的时区,命令如下: timedatectl set-timezone Asia/Shanghai timedatectl set-loca ...
- Mongoose disconnected. Mongoose connection error: MongoError: Authentication failed. (node:1532) Unh
mongoose.connect('mongodb://username:password@ip地址:27017/qianxunkefu_db') 换成mongoose.connect('mongod ...
- GIT:如何管理本机的多个ssh密钥(多个远程仓库账号)
生成新ssh key 如果我们电脑上已经存在了一个ssh key,那么我们需要在我们电脑上生成第二个你想在本电脑上使用的id_rsa,使用命令:ssh-keygen -t rsa -C "你 ...
- git 配置多个SSH-Key
1,生成一个SSH-Key $ ssh-keygen -t rsa -C "youremail@yourcompany.com" -f ~/.ssh/id-rsa 在~/.ssh/ ...
- linux 环境 安装jdk tomcat mysql git
1.安装JDK 1.官方下载jdk,linux版本的rpm包 2.安装rz sz ----------编译安装//安装cd /tmpwget http://www.ohse.de/uwe/releas ...
- 多个SSH Key自动化配置
在实际开发中经常会遇到连接不同的远程代码管理平台,比如Github.gitlab.coding,如果采用ssh验证方式就需要在本地生成相应的SSH Key,以及配置config文件,具体步骤可参考ju ...
- github 笔记
如果你已经安装了GitHub的windows客户端,就可以忽略此文. 1. 下载git 命令行工具 http://git-scm.com/ 2.生成sshkey 2.1 cd 到保存key的文件夹 2 ...
最新文章
- LeetCode 228: Summary Ranges
- 点分治问题 ----------- 2019-2020 ICPC Asia Hong Kong Regional Contest C.Constructing Ranches[点分治+树状数组]
- Google App Engine(GAE)入门教程翻译
- ETSI — MEC — 移动性支持
- 编号003099--ORACLE DBA-SH/WH
- Hapoxy+keepalived实现双主高可用负载均衡
- oracle ado6,c# ado 连接数据库 六步曲
- 2022年保险行业展望
- 关于Bootstrap的理解
- 服务器重装系统要注意什么_视频海外服务器前期要准备什么?
- pythonos模块使用技巧大全_Python os模块常用部分功能总结
- linux中怎么卸载gamit,GAMIT 解算各步骤-详细
- java实验计算机与光盘,JAVA实验指导资料.docx
- python矢量图_使用python制作矢量图
- 格局打开:NFT持有者决定IP天花板
- mysql及JAVA汉字转拼音
- 终于在linux上用wine装上qq了
- 开发制作一个小程序需要多少钱
- 测绘专硕要学计算机吗,测绘工程专硕专业介绍_测绘工程非全日制研究生(专业硕士)_125在职研究生...
- JSP中用List list = new ArrayList();报错, List cannot be resolved to a type