Hi, I tried the same on Bionic/Cosmic/Disco (a VM each running the same commands) 1. created an ssh key (ssh-keygen) 2. added it to authorized key (cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys) 3. added it with ssh-add (ssh-add) 4. verified it was added (ssh-add -l) 5. logged to local IP via ssh using the key (ssh ubuntu@127.0.0.1 uname -a) (working) 6. removed the key (ssh-add -d) 7. added the key in confirm mode (ssh-add -c) 8. logged to local IP via ssh using the key (ssh ubuntu@127.0.0.1 uname -a) Got the confirmation prompt
I only got the "sign_and_send_pubkey: signing failed: agent refused operation" if in the prompt that asked me if I should use the key I hit "cancel". That seems reasonable thou. Is the following sequence failing for you? If so would you report the full output for that sequence of commands that you get? Note: I used a clean VM with ssh -XY to allow the popup to come through to my host. sudo apt-get install ssh-askpass-gnome eval `ssh-agent -s` ssh-keygen cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys ssh-add ssh-add -l ssh ubuntu@127.0.0.1 uname -a ssh-add -d ssh-add -c ssh-add -l ssh ubuntu@127.0.0.1 uname -a # pupup should appear -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812247 Title: ssh-agent fails for ssh-add -c: agent refused operation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1812247/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs