[Bug 2990] cannot build openssh-portable against libressll 2.9.1

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Apr 10 20:39:10 AEST 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2990

--- Comment #17 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to admzzz from comment #15)
[...]
> $ ssh localhost
> sign_and_send_pubkey: signing failed: agent refused operation
> sign_and_send_pubkey: signing failed: agent refused operation
> admz at localhost: Permission denied (publickey,keyboard-interactive).

Something is offering to be an ssh-agent but is then refusing the
requests when ssh sends them for some reason.  My guess is it's a
third-party tool like gnome-keyring.  In the failure state, try:

$ echo $SSH_AUTH_SOCK
$ lsof $SSH_AUTH_SOCK

> how to avoid entering this "eval `ssh-agent -s`" before every
> connection attempt?

Assuming my guess is correct, unset SSH_AUTH_SOCK.

> ...this misbehaviour is new on my mint 18.02, with previous openssh
> 7.8p1 all works fine... [..]

compare the sign_and_send_pubkey line from the working version.

(In reply to admzzz from comment #16)
> debug3: sign_and_send_pubkey: signing using rsa-sha2-512
> sign_and_send_pubkey: signing failed: agent refused operation

My guess is that the third-party agent does not support rsa-sha2-512.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list