]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commit8d72b99d690020dfe22a6e219b1b0a8a40b95944
tree6f466886dc6b65f32beedaa7e898d4d335ed5081
parent49b30b6c81a58597b8eb270fdd70b6b7d92e18cf
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.)

git-svn-id: http://svn.tartarus.org/sgt/putty@9262 cda61777-01e9-0310-a592-d414129be87e
unix/uxcons.c