[Bug 3929] New: Reset tty after disconnect
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Feb 24 21:45:47 AEDT 2026
https://bugzilla.mindrot.org/show_bug.cgi?id=3929
Bug ID: 3929
Summary: Reset tty after disconnect
Product: Portable OpenSSH
Version: 10.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: mail at joachim-breitner.de
When using fancy TUI tool over ssh, they often re-configure the
terminal, e.g. enabling mouse support, or turning echo off. If such a
connection gets disconnected ungraceful, the terminal stays configured
as such (e.g. moving the mouse now floods the terminal with junk).
It would be desirable in these situations if ssh would, before exiting,
reset the terminal to the state it was before (like the `reset` tool,
or better like `stty sane` which does not clear the terminal).
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list