bugzilla-daemon at mindrot.org
2022-Jan-09 20:49 UTC
[Bug 3378] New: Make "Shared connectio to <host> closed." message silencable
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.
bugzilla-daemon at mindrot.org
2022-Jan-10 05:39 UTC
[Bug 3378] Make "Shared connectio to <host> closed." message silencable
https://bugzilla.mindrot.org/show_bug.cgi?id=3378
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
It is silenceable though. "ssh -q" or setting LogLevel=quiet stops it
--
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
2022-Jan-10 15:24 UTC
[Bug 3378] Make "Shared connectio to <host> closed." message silencable,
https://bugzilla.mindrot.org/show_bug.cgi?id=3378
Wayne Walker <wwalker at solid-constructs.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Make "Shared connectio to |Make "Shared
connectio to
|<host> closed." message |<host>
closed." message
|silencable |silencable,
--- Comment #2 from Wayne Walker <wwalker at solid-constructs.com> ---
@djm Yes, -q or LogLevel=QUIET silences it, but that also silences
even FATAL and ERROR messages. If it we set to an actual LogLevel,
then one could set LogLevel to ERROR and silence it while still
receiving ERROR and FATAL messages, should they occur.
--
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
2022-Jan-10 15:25 UTC
[Bug 3378] Make "Shared connectio to <host> closed." message silenceable, while Not silencing ALL messages
https://bugzilla.mindrot.org/show_bug.cgi?id=3378
Wayne Walker <wwalker at solid-constructs.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Make "Shared connectio to |Make "Shared
connectio to
|<host> closed." message |<host>
closed." message
|silencable, |silenceable, while Not
| |silencing ALL messages
--
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
2022-Jan-11 01:29 UTC
[Bug 3378] Make "Shared connectio to <host> closed." message silenceable, while Not silencing ALL messages
https://bugzilla.mindrot.org/show_bug.cgi?id=3378
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |3353
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
This has been committed and will be in OpenSSH 8.9
commit 1385513b95a12b38e8270ddf34c2d5dc4aeb806b (HEAD -> master)
Author: djm at openbsd.org <djm at openbsd.org>
Date: Tue Jan 11 01:26:47 2022 +0000
upstream: suppress "Connection to xxx closed" messages at
LogLevel>
error bz3378; ok dtucker@
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3353
[Bug 3353] Tracking bug for openssh-8.9
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2022-Feb-25 02:56 UTC
[Bug 3378] Make "Shared connectio to <host> closed." message silenceable, while Not silencing ALL messages
https://bugzilla.mindrot.org/show_bug.cgi?id=3378
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #4 from Damien Miller <djm at mindrot.org> ---
closing bugs resolved before openssh-8.9
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.