Re: sshd_config

From: Dan Mahoney (Ports) <freebsd_at_gushi.org>
Date: Sun, 29 Oct 2023 07:05:33 UTC

> On Oct 28, 2023, at 2:17 PM, Doug Hardie <bc979@lafn.org> wrote:
> 
> Where can I find the distributed copy of sshd_config for 14.0-rc?  My sshd_config is modified so freebsd-update does not give me any info on the changes other than it was changed.  Apparently there is at least one new entry that I need to change.  I am wondering if there are more.  
> 
> There used to be a way on the web site to view any source file for a distribution, but I am not finding that anymore.

The stock sshd_config is entirely commented out defaults, so any production change would only add more commented-out default options.

For sshd_config, whatever it is, it’s going to be a commented-out default, probably for a version string which changes with every OS release, such as:

#VersionAddendum FreeBSD-20170903

Plus the $version tags at the top of course.  (Which are also not things that affect the running sshd)

-Dan