[Bug 3378] New: Make "Shared connectio to <host> closed." message silencable

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jan 10 07:49:15 AEDT 2022


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

            Bug ID: 3378
           Summary: Make "Shared connectio to <host> closed." message
                    silencable
           Product: Portable OpenSSH
           Version: 8.8p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: wwalker at solid-constructs.com

Created attachment 3563
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3563&action=edit
Change "Shared connection ..closed" message from "always" to VERBOSE

The message "Shared connectio to <host> closed." cannot be silenced
without silencing ALL messages from ssh.

Please change it to be of LogLevel INFO, or VERBOSE, or add a config
option to silence it (e.g. MuxMessages default yes).

```
$ ssh -t daplane ls > /dev/null
Shared connection to 172.16.16.1 closed.
$
```

I understand that there are workarounds (e.g.,don't use -t, but
sometimes the remote tool needs a tty); however, one should be able to
silence the message (e.g., change LogLevel to ERROR) without silencing
ERROR and FATAL messages.

Attached is a simple patch that should suffice.

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


More information about the openssh-bugs mailing list