Agent admitted failure to sign using the key.

Bug #682500 reported by Pedro Bessa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Low
Unassigned

Bug Description

.ssh dir is chmodded 700, id_rsa.pub 600, id_rsa 400.

I ran ssh-keygen -t rsa, imported key to launchpad, ran bzr branch lp:unity, got error message:
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

Revision history for this message
Max Bowsher (maxb) wrote :

Pedro,

Please reproduce the failure, then run "echo $SSH_AUTH_SOCK" in the same shell, and tell us whether the result begins /tmp/ssh- or /tmp/keyring- : this will ascertain whether you are using the openssh ssh-agent, or the reimplementation of the ssh-agent protocol in gnome-keyring-daemon.

I suspect the latter, in which case this bug needs to be on the gnome-keyring package, not the openssh one.

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in openssh (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Pedro Bessa (deltrem1984) wrote :

I was typing the right password... for the wrong user! lol...

After typing the root password instead of the deltrem (I'm deltrem) password, gnome-keyring doesn't accept new attempts and fails automatically.

The solution is to reboot and use the right password for the right user.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.