Chinaunix首页 | 论坛 | 博客
  • 博客访问: 170516
  • 博文数量: 23
  • 博客积分: 348
  • 博客等级: 一等列兵
  • 技术积分: 235
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-02 16:34
个人简介

System Software Engineer

文章分类

全部博文(23)

文章存档

2013年(9)

2012年(14)

分类: LINUX

2013-03-06 20:52:32

本文来自:

http://sakananote2.blogspot.com/2010/07/agent-admitted-failure-to-sign-using.html

 

 

之前如果建立 ssh 连接,
只要將公鑰複製到 ~/.ssh/authorized_keys 就可以利用金鑰登入
而不需要建立密碼.

現在的 ssh 使用同樣的方法會出現錯誤訊息

Agent admitted failure to sign using the key


解決方式 使用 ssh-add 指令將私鑰 加進來 (根据个人的密匙命名不同更改 id_rsa)
# ssh-add   ~/.ssh/id_rsa 

阅读(12946) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~