ssh-askpass should be able to distinguish between a prompt for confirmation and a prompt for an actual passphrase

Ángel González keisial at gmail.com
Sat Feb 26 04:56:45 EST 2011


Daniel Kahn Gillmor wrote:
> On 02/24/2011 11:55 PM, Peter Stuge wrote:
>> No. The new window will only get focus if it opened under the
>> pointer.
>  [...]
>> fvwm2
> ok, thanks, that's good to know.  Do you know if there's a way to get
> X11 focus without doing a full keyboard grab?
If a XGrabKeyboard is really needed, what about grabbing it and
immediatly releasing it?


> I'm curious what ideas you'd have for actually implementing askpass
> serialization -- would it be something in the filesystem?  a
> per-X11-session serializing daemon?  Something else?  These all seem
> likely to introduce opportunities for other kinds of subtle failure.
Aren't both instances spawned by ssh-agent? It seems the agent task to
ensure they will
not conflict (or maybe respawn the failed one when there's no more
pending dialogs).



More information about the openssh-unix-dev mailing list