Suppress ssh login banner from broctl output

Description

When using broctl in an environment with login banners, they will be displayed in the broctl command. In the event that they can not be configured away on the sshd end using '-q' avoids displaying the banner on the client side.

The patch is trivial:

— a/BroControl/ssh_runner.py
+++ b/BroControl/ssh_runner.py
@@ -108,6 +108,7 @@ class SSHMaster:
self.base_cmd = [
"ssh",
"-o", "BatchMode=yes",
+ "-q",
host,
]
self.need_connect = True

Environment

None

Assignee

Daniel Thayer

Reporter

scampbell

Labels

External issue ID

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure