Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2020 11:53:51 -0500
From:      David Mehler <dave.mehler@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   tightening sshd, removing server identification banner
Message-ID:  <CAPORhP4JmTB-Cf04Mgtae9EnHCRPe=5LHs_xtbZE%2BAPoP6pVbg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm running FreeBSD 12.0. I'm atempting to tighten up my sshd
configuration. I've got things where I want them, except for the
connecting banner. I'm using sshaudit.com to test things and this is
what it's saying for the banner setting:

Banner:SSH-2.0-OpenSSH_7.8 FreeBSD-20180909

I would rather this be set to nothing or at most very minimal. Google
and the sshd_config man page reveals the Banner and VersionAdendum
options. I've set both to none.

PrintMotd no
#PrintLastLog yes
#VersionAddendum none
#Banner none

Can anyone tell me how to get the results I am looking for?

Thanks.
Dave.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPORhP4JmTB-Cf04Mgtae9EnHCRPe=5LHs_xtbZE%2BAPoP6pVbg>