On 19/10/2023 16:19, Robert Blayzor wrote:
On 10/4/23 00:45, Peter Libassi wrote:
Me too! My sshd_config is also customized and everytime there is a new patch I need to run freebsd-update manually and get rid of the attempt to trash the sshd config that could make my server unreachable over the network.

Why does the freebsd-update need a vanilla sshd_config?


Or put your custom sshd config in another location and just update rc.conf:

sshd_flags="-f /path/to/my/sshd_config"

It is hackery workaround. freebsd-update must not overwrite user modified files without safe merge of conflicts. yet it did it in the past, for example pf.conf and some other vital files.

Kind regards
Miroslav Lachman


Reply via email to