]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
If we're printing password prompts to /dev/tty rather than standard
authorSimon Tatham <anakin@pobox.com>
Thu, 11 Aug 2011 18:13:34 +0000 (18:13 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 11 Aug 2011 18:13:34 +0000 (18:13 +0000)
commit9fce238b0029c6130a2335b9ce2489b152690bf2
tree6f466886dc6b65f32beedaa7e898d4d335ed5081
parent5c00b581c8b83f6e7be9d53a77d9c61ef4d817a5
If we're printing password prompts to /dev/tty rather than standard
error, we should also read the corresponding password inputs from
/dev/tty. That way, redirection of Plink's standard input will play
nicely with SSH sessions that need interactive login.

(This is what we get for disdaining getpass(3) and going it alone, of
course. But we had no choice, due to the extra output part way through
keyboard-interactive.)

[originally from svn r9262]
unix/uxcons.c