代理人承认未能使用密钥签名

代理人承认未能使用密钥签名

.ssh dirchmodded 为id_rsa.pub700、600、400 id_rsa

我运行了ssh-keygen -t rsa,将密钥导入启动板并运行bzr branch lp:unity,但收到​​错误消息:

Agent admitted failure to sign using the key.
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.

auth.log

Nov 28 20:23:13 ubuntu sudo:  deltrem : TTY=pts/0 ; PWD=/home/deltrem/Documentos/repositories ; USER=root ; COMMAND=/usr/bin/bzr branch lp:unity
Nov 28 20:39:01 ubuntu CRON[2959]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 28 20:39:01 ubuntu CRON[2959]: pam_unix(cron:session): session closed for user root
Nov 28 20:41:04 ubuntu gnome-screensaver-dialog: gkr-pam: unlocked login keyring

答案1

您可能需要使用 将密钥加载到代理中ssh-add

如果您已经这样做了,请检查您是否受到相关 Ubuntu 错误之一的影响: 201786328127488296

答案2

遵循此建议如何解决“代理承认无法使用密钥签名”错误?,我刚刚退出并重新登录客户端。一切又恢复正常了。

相关内容