bugzilla-daemon at mindrot.org
2012-Sep-26  11:35 UTC
[Bug 2044] New: error message is printed for SSHv1 when ssh is forced to allocate a pseudo-tty even when it does not have a one
https://bugzilla.mindrot.org/show_bug.cgi?id=2044
          Priority: P5
            Bug ID: 2044
          Assignee: unassigned-bugs at mindrot.org
           Summary: error message is printed for SSHv1 when ssh is forced
                    to allocate a pseudo-tty even when it does not have a
                    one
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: ivo.raisr at oracle.com
          Hardware: All
            Status: NEW
           Version: 6.1p1
         Component: ssh
           Product: Portable OpenSSH
Created attachment 2190
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2190&action=edit
patch with a fix
When running
ssh -1 -tt user at host tty </dev/null
then ssh has to use SSHv1 and is forced to allocate a tty
even when stdin is not a terminal.
In this case, ssh correctly logs into the remote host,
allocates a tty and successfully runs the command.
But it displays error message:
tcgetattr: ......
Note that when SSHv2 is used, no error message is printed.
This is because the following two bugs were fixed previously:
https://bugzilla.mindrot.org/show_bug.cgi?id=1686
https://bugzilla.mindrot.org/show_bug.cgi?id=1199
This bug report is for SSHv1 only.
See the attached patch for a suggested fix.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2020-Jun-26  06:08 UTC
[Bug 2044] error message is printed for SSHv1 when ssh is forced to allocate a pseudo-tty even when it does not have a one
https://bugzilla.mindrot.org/show_bug.cgi?id=2044
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
We fixed this by deleting SSHv1 :)
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Mar-03  22:54 UTC
[Bug 2044] error message is printed for SSHv1 when ssh is forced to allocate a pseudo-tty even when it does not have a one
https://bugzilla.mindrot.org/show_bug.cgi?id=2044
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
close bugs that were resolved in OpenSSH 8.5 release cycle
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.