Skip to content

Commit 8d6a5d6

Browse files
committed
A simple port of the silence paramiko adjustments in PR320 to EL8.
1 parent e4e9fc1 commit 8d6a5d6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- /usr/lib/python2.7/site-packages/paramiko/transport.py 2025-08-27 19:44:31.029599331 +0200
2+
+++ /usr/lib/python2.7/site-packages/paramiko/transport.py.quieter 2025-08-27 19:42:55.036106528 +0200
3+
@@ -2187,7 +2187,9 @@
4+
"server" if self.server_mode else "client", e
5+
),
6+
)
7+
- self._log(ERROR, util.tb_strings())
8+
+ # NOTE: we degraded this noisy traceback from ERROR to INFO
9+
+ # It is usually just ssh vulnerability scans failing.
10+
+ self._log(INFO, util.tb_strings())
11+
self.saved_exception = e
12+
except EOFError as e:
13+
self._log(DEBUG, "EOF in transport thread")

0 commit comments

Comments
 (0)