Suppressing ssh banner from OpenSSH client
Solution 1:
AFAIK, "ssh -q
" or "LogLevel QUIET
" in ~/.ssh/config
are the "traditional" ways to silence the banner. So you already have a "better" compromise with "LogLevel ERROR
".
A more specific solutions would be to use a custom patched version of the ssh client, if this is an option.
Solution 2:
You can also use:
Banner none
on
/etc/ssh/sshd_config