[Bug 1686] New: using -tt should also silence warnings about failed local tty operations

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Dec 16 21:37:21 EST 2009


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

           Summary: using -tt should also silence warnings about failed
                    local tty operations
           Product: Portable OpenSSH
           Version: 5.3p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: sfandino at yahoo.com


Running ssh with option -tt forces a pty allocation on the server even
when stdin is not a tty.

In that case,  on the client side, several tty OS calls fail and
generate warnings. For instance:

$ ssh -qtt my.host.org sudo cat /tmp/foo </dev/null 
tcgetattr: Inappropriate ioctl for device

As those failures are expected they should be silenced.

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


More information about the openssh-bugs mailing list