On Wed, 17 Aug 2022 09:11:19 +0200 Mathias Homann wrote:
Am Mittwoch, 17. August 2022, 08:56:10 CEST schrieb Nicolas Kovacs:
To do this, I opened /etc/ssh/ssh_config and found the relevant stanza:
I simply commented this out and reloaded SSH:
# systemctl reload sshd
I tried to do this with Tumbleweed, but I don't have an /etc/ssh/ssh_config file. Instead, I only have an empty /etc/ssh/ssh_config.d directory. So I guess my SSH client has all default values defined at build time.
Hi,
Tumbleweed is subject to what was termed "usrmerge". Basically, there are no more DEFAULTS in /etc - all the default configurations are now in /usr/etc. But when you make modifications they still go into /etc.
There is more to it than just that but for your purpose that should be sufficient, anyway you still make your modifications in the same place, you just find the defaults in /usr/etc now.
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 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. Thanks Bob -- Bob Williams No HTML please. Plain text preferred. https://useplaintext.email/