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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Nov 21 14:52:45 EST 2009


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Damien Miller <djm at mindrot.org> 2009-11-21 14:52:44 EST ---
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.

-- 
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