Password from open filedescriptor
Peter Astrand
astrand at lysator.liu.se
Mon Apr 22 21:09:12 EST 2002
> On Mon, Apr 22, 2002 at 12:44:34PM +0200, Peter Astrand wrote:
> > My first idea was actually to add a patch to force use of SSH_ASKPASS, but
> > it seems like SSH_ASKPASS really is only meant for X11 applications
> > (because it requires a DISPLAY).
>
> well, this could be changed. and you could set DISPLAY=bla
In other words, do you like the solution with:
* Remove the DISPLAY requirement from SSH_ASKPASS
* Add an option for forcing use of SSH_ASKPASS, even if we have a
controlling terminal
...better than my original patch? I could then write an askpass-program
that takes an filedescriptor from an environment string, reads from the
open fd and then prints to stdout. It would probably solve my problem,
although it seems slightly more complicated than my -d option.
--
/Peter Åstrand <astrand at lysator.liu.se>
More information about the openssh-unix-dev
mailing list