On Mon, 22 Aug 2022 14:47:24 +0200 Adam Majer wrote:
On 8/17/22 15:20, Bob Williams wrote:
I have used a modified sshd_config for many years on Leap and earlier openSUSE systems. When I moved to using Tumbleweed recently, I was unaware of 'usrmerge' and simply copied the modified sshd_config file from my backup into /etc/ssh/.
Will future upgrades overwrite my /etc/ssh/sshd_config file. Should I preempt this by > # cp /usr/etc/ssh/sshd_config /etc/ssh/sshd_config
If you copied it to /etc/ssh/sshd_config, keep in mind this file is no longer part of the configfiles but it will be used by default. Effectively, you will override the package default config and it will never change, etc. /usr/etc/ssh/sshd_config will not be used.
and then adding my changes to /etc/ssh/sshd_config.d/override.conf, for example. This would presumably make my system usrmerge-compliant, at least with respect to sshd.
This is how you are suppose to do the changes in the first places ;)
The ideal system-wide changes are in files in /etc/ssh/sshd_config.d/*.conf files, and not to have /etc/ssh/sshd_config.
And yes, currently this doesn't allow you do prevent sending default language env to server.
- Adam
Thank you for the clarification. -- Bob Williams No HTML please. Plain text preferred. https://useplaintext.email/