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

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Feb 26 05:06:38 EST 2011


On 02/25/2011 12:56 PM, Ángel González wrote:
> If a XGrabKeyboard is really needed, what about grabbing it and
> immediatly releasing it?

hm, that's an idea, though if XSetInputFocus() is sufficient, i'd rather
not play games with anything that does global locks.

> 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).

The ControlMaster=ask situations are invoking ssh-askpass from the
socket-multiplexing ssh connections themselves, not from ssh-agent.

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20110225/f4e3148d/attachment.bin>


More information about the openssh-unix-dev mailing list