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

kkubkowski 1569019 at bugs.launchpad.net
Tue Mar 7 19:23:49 UTC 2017


Found out, that ssh will relay that error if identity that shall be used is a link to actual file.
I have generated RSA keys using OpenSSL and stored them into ~/.ssh/id_rsa.pub.pem and ~/.ssh/id_rsa.key.pem
Then I converted ~/.ssh/id_rsa.pub.pem into OpenSSH format using ssh-keygen
Then I created a link: ln ~/.ssh/id_rsa.key.pem ~/.ssh/id_rsa
Then I edited /etc/ssh/ssh_config such that there was only one line IdentityFile ~/.ssh/id_rsa
Then I tried to log into remote machine - the result was: sign_and_send_pubkey: signing failed: agent refused operation

Maybe I am missing something and there is a configuration option that
follows links?

-- 
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