Agent admitted failure to sign using the key

转载 2015年07月10日 17:01:24

SSH生成id_rsa, id_rsa.pub后,连接服务器却报:

Agent admitted failure to sign using the key

错误。


解决方法:

在当前用户下执行命令:

 ssh-add   ~/.ssh/id_rsa

即可解决。

if ssh-add 命令出现如下错误:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0766 for '/home/bxd/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.

输入 命令chmod 600 .ssh/id_rsa 即可

相关文章推荐

Using Trade Shows to Launch or License Your Novel Consumer Product Is Key

Using Trade Shows to Launch or License Your Novel Consumer Product Is Key,air jordan 3 Each busin...

nike air max pas cher also had to apologize this contact with the passengers. But he admitted that t

also had to apologize this contact with the passengers. But he admitted that the conductor why do no...

Single Sign On using LDAP + Kerberos

Environment openLDAP server : krb-ldap.shadow.com 192.168.122.16 Kerberos KDC  : krb-kdc1.s...

Troubleshooting Failure to Reach A7

  • 2010年08月15日 17:56
  • 61KB
  • 下载

Single Sign-on Using Kerberos in Java

Single Sign-on Using Kerberos in Java Mayank Upadhyay Ram Marti Oracle and/or its affiliates. {may...

ASM Fast Mirror Resync - Example To Simulate Transient Disk Failure And Restore Disk

 Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.1.0 - Release: to 11.2        This...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Agent admitted failure to sign using the key
举报原因:
原因补充:

(最多只允许输入30个字)