Skip to content

Commit c59135c

Browse files
authored
🤖 fix: filter SSH multiplexing stderr noise from command output (#987)
The previous fix (#981) used `LogLevel=ERROR`, but `mux_client_request_session` messages are at ERROR level in OpenSSH. Using `LogLevel=FATAL` suppresses these while still showing fatal connection failures. ## One-line fix ```diff - args.push("-o", "LogLevel=ERROR"); + args.push("-o", "LogLevel=FATAL"); ``` _Generated with `mux`_
1 parent 7cd2c1f commit c59135c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node/runtime/SSHRuntime.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,8 @@ export class SSHRuntime implements Runtime {
667667

668668
// Suppress SSH warnings (e.g., ControlMaster messages) that would pollute command output
669669
// These go to stderr and get merged with stdout in bash tool results
670-
args.push("-o", "LogLevel=ERROR");
670+
// Use FATAL (not ERROR) because mux_client_request_session messages are at ERROR level
671+
args.push("-o", "LogLevel=FATAL");
671672

672673
// Add ControlMaster options for connection multiplexing
673674
// This ensures all SSH operations reuse the master connection

0 commit comments

Comments
 (0)