[Bug 2689] New: Terminal new line after packet_write_wait: Connection failure

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Mar 7 18:34:52 AEDT 2017


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

            Bug ID: 2689
           Summary: Terminal new line after packet_write_wait: Connection
                    failure
           Product: Portable OpenSSH
           Version: 7.2p2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jg at jguk.org

Hello

Often remote ssh connection fails due to unreliable wifi etc, and I see
corrupted terminal output.

Could ssh exits contain \n\n to get past any trailing output from the
other machine?

ubuntu at ip-xx-xx-xx-xx:~/$ 
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe
jonny at ubuntu1404:~/
[0] 0:bash*               "ip-xx-xx-xx-xx" 06:41 07-Mar-17 
jonny at ubuntu1404:~/
jonny at ubuntu1404:~/



Could it be exchanged to output some more lines, eg

packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe
Connection closed
Exit
jonny at ubuntu1404:~/


Let me know if this would be acceptable, and I can prepare a patch

I am using
ssh -V
OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g  1 Mar 2016

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list