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
> On Oct 17, 2023, at 16:22, Jim Knoble <jmknoble at pobox.com> wrote: > > ?[...] prints on Syd out whatever I put it received [...]."prints on _stdout_ whatever _input_ it received" Thanks, auto-incorrect.
openssh at tr.id.au
2023-Oct-18 18:33 UTC
ssh-agent hides sk "confirm user presence" message
> Wow. Scary to know that's still around and still works. Profuse apologies for that.lol. There is a niche for it for people like me who don't want to pull in all the baggage of a fullblown desktop environment. Like, I'm sure lxqt-ssh-askpass (which I considered using because it's in my package manager) *looks* prettier, but I don't want to install the rest of lxqt just to get it.> 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.Thanks for the tip, that's useful to know. ~ Tim