[Bug 1673] pseudoterminal option (-t) breaks standard out/error separation

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Nov 23 01:34:56 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1673

--- Comment #2 from raker1000 at yahoo.com 2009-11-23 01:34:55 EST ---
(In reply to comment #1)
> This is expected. When a pty is allocated, all of stdin, stdout and
> stderr point to the pty (see "ls -l /proc/$$/fd" on Linux). Being on
> the other side of the pty, sshd has no way to determine which fd the
> child process issued the write() to. Changing the fd allocation so that
> stderr was a pipe instead of a pty would be a significant departure
> from standard practice and would probably break quite a few things.


I see. I wasn't sure whether this was intended behavior. Thank you for
the prompt attention.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list