Created attachment 2190 [details] patch with a fix When running ssh -1 -tt user@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.
We fixed this by deleting SSHv1 :)
close bugs that were resolved in OpenSSH 8.5 release cycle