ssh-agent hides sk "confirm user presence" message

Jim Knoble jmknoble at pobox.com
Wed Oct 18 10:22:55 AEDT 2023


Greetings, Programs!

> On Oct 17, 2023, at 15:47, openssh at tr.id.au wrote:
> 
> [...] I installed x11-ssh-askpass; ssh-agent found it automatically and everything works as expected.

Wow. Scary to know that's still around and still works. Profuse apologies for that.

> It would be nice to know how [...] the askpass dialog knows that user presence is being requested. 

ssh-askpass doesn't have any idea what's bein requested; if I recall correctly, it displays whatever message it was called with, and it prints on Syd out whatever I put it received, exiting with status zero for OK or nonzero for Cancel.

It's ssh-agent or ssh-add that "know" about user presence, insofar as that can be known.

That is to say, the source code you probably want to look at is in ssh-agent, rather than x11-ssh-askpass.

-- 
jim knoble




More information about the openssh-unix-dev mailing list