Mailing List Archive

[Bug 1199] ssh sends invalid ttymodes when stdin is not a tty
http://bugzilla.mindrot.org/show_bug.cgi?id=1199

Summary: ssh sends invalid ttymodes when stdin is not a tty
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: bitbucket@mindrot.org
ReportedBy: djm@mindrot.org
OtherBugsDependingO 1155
nThis:


Daniel Ritz <daniel.ritz AT alcatel.ch> reports:

ssh client sends a wrong all-zero terminal info when requesting forced
pseudo-terminal allocation while stdin is not a terminal. sshd then
sets the terminals ospeed to 0 because it receives this information
from the client. on solaris this means that the pseudo-terminal is
closed and output of any remote command is dropped.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://www.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1199] ssh sends invalid ttymodes when stdin is not a tty [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1199





------- Comment #1 from djm@mindrot.org 2006-06-23 18:17 -------
Created an attachment (id=1146)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1146&action=view)
Daniel's patch

This is Daniel's patch for the bug




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://www.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1199] ssh sends invalid ttymodes when stdin is not a tty [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1199





------- Comment #2 from djm@mindrot.org 2006-06-23 18:18 -------
I think there is a related bug in connection multiplexing too: it looks
like we incorrectly reuse the ttymodes from the master's stdin rather
than picking it up each time




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://www.mindrot.org/mailman/listinfo/openssh-bugs