[Bug 1569019] Re: rsa ssh login fails with "sign_and_send_pubkey: signing failed: agent refused operation" error

Rohit Khatkar tony at zeroos.co
Thu Mar 9 18:07:08 UTC 2017


I solved this issue using help from:
https://help.ubuntu.com/community/SSH/OpenSSH/Keys

Encrypted Home Directory was my issue. and it was file permission issue.

Also I needed to run "gpg-agent --daemon --enable-ssh-support"
explicitly. Though it was part of yubikey Ubuntu script from here
https://developers.yubico.com/PGP/SSH_authentication/

I just ran script again and again and fixed file permissions. Somehow it
started working and allowed me to login.

Using Ubuntu 16.04.02.
Yubikey 4 nano

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1569019

Title:
  rsa ssh login fails with "sign_and_send_pubkey: signing failed: agent
  refused operation" error

Status in Ubuntu Server Guide:
  New
Status in gnupg2 package in Ubuntu:
  Confirmed

Bug description:
  if you follow the guild

  https://help.ubuntu.com/14.04/serverguide/openssh-server.html

  logins will fail with the error

  sign_and_send_pubkey: signing failed: agent refused operation

  until the command

  ssh-add

  is executed on the client machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/serverguide/+bug/1569019/+subscriptions



More information about the foundations-bugs mailing list