Date: Mon, 17 Feb 2020 10:59:30 -0600 From: Valeri Galtsev <galtsev@kicp.uchicago.edu> To: David Mehler <dave.mehler@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: tightening sshd, removing server identification banner Message-ID: <2357421B-1522-4ECF-A9BA-3396C2357B57@kicp.uchicago.edu> In-Reply-To: <CAPORhP4JmTB-Cf04Mgtae9EnHCRPe=5LHs_xtbZE%2BAPoP6pVbg@mail.gmail.com> References: <CAPORhP4JmTB-Cf04Mgtae9EnHCRPe=5LHs_xtbZE%2BAPoP6pVbg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Feb 17, 2020, at 10:53 AM, David Mehler <dave.mehler@gmail.com> = wrote: >=20 > Hello, >=20 > 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: >=20 > Banner:SSH-2.0-OpenSSH_7.8 FreeBSD-20180909 >=20 > 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. >=20 > PrintMotd no > #PrintLastLog yes > #VersionAddendum none > #Banner none >=20 My sshd_config file has: Banner /etc/some_file and /etc/some_file contains the text which is being put as banner (Like = =E2=80=9CThis is [my organization name] system. Unauthorized use is = prohibited=E2=80=9D) and whatever else I feel necessary to greet users = witrh on particular box. I hope this helps. Valeri > Can anyone tell me how to get the results I am looking for? >=20 > Thanks. > Dave. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2357421B-1522-4ECF-A9BA-3396C2357B57>