On Wed, 5 Jan 2000, Randolph J. Herber wrote:
> |So, stdin and stdout from ssh are redirected to the socket open in the
> |parent. stderr is not redirected, since the password entry code really
> |does need to read from the tty.
>
> In SGI Irix and most other Release 6 derived operating systems, getpass(...)
> reads from /dev/tty and not file descriptor 2.
Right. ssh doesn't use getpass(), but it does read from /dev/tty. The
prompt, though, does go to stderr, which is what I meant (whether or not I
knew it at the time).
Brian