执行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相关推荐

  1. 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 ...

  2. 执行ssh-add时出现Could not open a connection to your authentication agent

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open ...

  3. 已解决:Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed:

    1.问题描述 在部署k8s时,有个步骤需要设置centos机器的时区,命令如下: timedatectl set-timezone Asia/Shanghai timedatectl set-loca ...

  4. Mongoose disconnected. Mongoose connection error: MongoError: Authentication failed. (node:1532) Unh

    mongoose.connect('mongodb://username:password@ip地址:27017/qianxunkefu_db') 换成mongoose.connect('mongod ...

  5. GIT:如何管理本机的多个ssh密钥(多个远程仓库账号)

    生成新ssh key 如果我们电脑上已经存在了一个ssh key,那么我们需要在我们电脑上生成第二个你想在本电脑上使用的id_rsa,使用命令:ssh-keygen -t rsa -C "你 ...

  6. git 配置多个SSH-Key

    1,生成一个SSH-Key $ ssh-keygen -t rsa -C "youremail@yourcompany.com" -f ~/.ssh/id-rsa 在~/.ssh/ ...

  7. linux 环境 安装jdk tomcat mysql git

    1.安装JDK 1.官方下载jdk,linux版本的rpm包 2.安装rz sz ----------编译安装//安装cd /tmpwget http://www.ohse.de/uwe/releas ...

  8. 多个SSH Key自动化配置

    在实际开发中经常会遇到连接不同的远程代码管理平台,比如Github.gitlab.coding,如果采用ssh验证方式就需要在本地生成相应的SSH Key,以及配置config文件,具体步骤可参考ju ...

  9. github 笔记

    如果你已经安装了GitHub的windows客户端,就可以忽略此文. 1. 下载git 命令行工具 http://git-scm.com/ 2.生成sshkey 2.1 cd 到保存key的文件夹 2 ...

最新文章

  1. LeetCode 228: Summary Ranges
  2. 点分治问题 ----------- 2019-2020 ICPC Asia Hong Kong Regional Contest C.Constructing Ranches[点分治+树状数组]
  3. Google App Engine(GAE)入门教程翻译
  4. ETSI — MEC — 移动性支持
  5. 编号003099--ORACLE DBA-SH/WH
  6. Hapoxy+keepalived实现双主高可用负载均衡
  7. oracle ado6,c# ado 连接数据库 六步曲
  8. 2022年保险行业展望
  9. 关于Bootstrap的理解
  10. 服务器重装系统要注意什么_视频海外服务器前期要准备什么?
  11. pythonos模块使用技巧大全_Python os模块常用部分功能总结
  12. linux中怎么卸载gamit,GAMIT 解算各步骤-详细
  13. java实验计算机与光盘,JAVA实验指导资料.docx
  14. python矢量图_使用python制作矢量图
  15. 格局打开:NFT持有者决定IP天花板
  16. mysql及JAVA汉字转拼音
  17. 终于在linux上用wine装上qq了
  18. 开发制作一个小程序需要多少钱
  19. 测绘专硕要学计算机吗,测绘工程专硕专业介绍_测绘工程非全日制研究生(专业硕士)_125在职研究生...
  20. JSP中用List list = new ArrayList();报错, List cannot be resolved to a type

热门文章

  1. 一个Java Web后台任务执行工具的设计与实现
  2. 使用Vscode进行远程炼丹
  3. modlesim使用
  4. fegin调用为什么要序列化_全方位解析Java的序列化
  5. 服务器暴力破解的程序(python开发)
  6. python django web典型模块开发实战下载_Django实战 Python Web典型模块与项目开发
  7. 整理一下linux系统expand 命令
  8. 同学Linux,同成长
  9. Codeforces Global Round 9 A-D题解
  10. 数据结构[栈与队列]的基本操作