[Bug 1101] terminal allocation hangs ssh at a blocking tcsetattr (-t option)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Oct 11 09:05:00 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1101

           Summary: terminal allocation hangs ssh at a blocking tcsetattr (-
                    t option)
           Product: Portable OpenSSH
           Version: 4.2p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: imre.deak at nokia.com


I'm trying to use ppp over ssh as follows:

# pppd passive pty "ssh -qtt remote.mine.nu pppd 192.168.10.1:192.168.10.2"

The ssh process which is run as a child will try as a consequence of option -t
will hang for ever in function enter_raw_mode / tcsetattr(fileno(stdin),
TCSADRAIN, &tio) .

I could avoid the problem with replacing TCSADRAIN with TCSANOW, not sure
though what a proper fix would be for this.




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




More information about the openssh-bugs mailing list