.ssh dir
chmodded 为id_rsa.pub
700、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
答案2
遵循此建议如何解决“代理承认无法使用密钥签名”错误?,我刚刚退出并重新登录客户端。一切又恢复正常了。