[TW] Where do I put sshd overrides?
In the Good Old Days, the sshd configuration file was /etc/ssh/sshd_config. Since the switch to /usr/etc I believe this no longer works. Where should I put my sshd configuraton options now? TIA Bob -- Bob Williams No HTML please. Plain text preferred. https://useplaintext.email/ http://www.catb.org/~esr/faqs/smart-questions.html
On Mon, Jul 22, 2024 at 12:05 PM Bob Williams <usenet@karmasailing.uk> wrote:
In the Good Old Days, the sshd configuration file was /etc/ssh/sshd_config. Since the switch to /usr/etc I believe this no longer works.
What makes you think so? If it exists, it is used.
Where should I put my sshd configuraton options now?
You can put them in /etc/ssh/ssh_config.d. Just look in /usr/etc/ssh/sshd_config.
On Mon, 22 Jul 2024 12:32:36 +0300 Andrei Borzenkov wrote:
On Mon, Jul 22, 2024 at 12:05 PM Bob Williams <usenet@karmasailing.uk> wrote:
In the Good Old Days, the sshd configuration file was /etc/ssh/sshd_config. Since the switch to /usr/etc I believe this no longer works.
What makes you think so? If it exists, it is used.
OK, thank you. I misunderstood and thought overrides had to go somewhere else now, eg /etc/ssh/sshd_config.d as you suggest below.
Where should I put my sshd configuraton options now?
You can put them in /etc/ssh/ssh_config.d. Just look in /usr/etc/ssh/sshd_config.
Thank you. -- Bob Williams
On 7/22/24 7:34 PM, Bob Williams wrote:
On Mon, 22 Jul 2024 12:32:36 +0300 Andrei Borzenkov wrote:
On Mon, Jul 22, 2024 at 12:05 PM Bob Williams <usenet@karmasailing.uk> wrote:
In the Good Old Days, the sshd configuration file was /etc/ssh/sshd_config. Since the switch to /usr/etc I believe this no longer works.
What makes you think so? If it exists, it is used.
OK, thank you. I misunderstood and thought overrides had to go somewhere else now, eg /etc/ssh/sshd_config.d as you suggest below.
Where should I put my sshd configuraton options now?
You can put them in /etc/ssh/ssh_config.d. Just look in /usr/etc/ssh/sshd_config.
Thank you.
The defaults installed by rpm's have moved into /usr/etc but they idea is that overides stay in /etc so that they no longer need to be merged. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
On Mon, 22 Jul 2024 20:33:23 +0930 Simon Lees wrote:
On 7/22/24 7:34 PM, Bob Williams wrote:
On Mon, 22 Jul 2024 12:32:36 +0300 Andrei Borzenkov wrote:
On Mon, Jul 22, 2024 at 12:05 PM Bob Williams <usenet@karmasailing.uk> wrote:
In the Good Old Days, the sshd configuration file was /etc/ssh/sshd_config. Since the switch to /usr/etc I believe this no longer works.
What makes you think so? If it exists, it is used.
OK, thank you. I misunderstood and thought overrides had to go somewhere else now, eg /etc/ssh/sshd_config.d as you suggest below.
Where should I put my sshd configuraton options now?
You can put them in /etc/ssh/ssh_config.d. Just look in /usr/etc/ssh/sshd_config.
Thank you.
The defaults installed by rpm's have moved into /usr/etc but they idea is that overides stay in /etc so that they no longer need to be merged.
Thanks, I understand now. -- Bob Williams
On 2024-07-22 13:03, Simon Lees wrote:
On 7/22/24 7:34 PM, Bob Williams wrote:
On Mon, 22 Jul 2024 12:32:36 +0300 Andrei Borzenkov wrote:
On Mon, Jul 22, 2024 at 12:05 PM Bob Williams <usenet@karmasailing.uk> wrote:
In the Good Old Days, the sshd configuration file was /etc/ssh/sshd_config. Since the switch to /usr/etc I believe this no longer works.
What makes you think so? If it exists, it is used.
OK, thank you. I misunderstood and thought overrides had to go somewhere else now, eg /etc/ssh/sshd_config.d as you suggest below.
Where should I put my sshd configuraton options now?
You can put them in /etc/ssh/ssh_config.d. Just look in /usr/etc/ssh/sshd_config.
Thank you.
The defaults installed by rpm's have moved into /usr/etc but they idea is that overides stay in /etc so that they no longer need to be merged.
By overrides, do you mean only the local settings, so that the rest of default variables in /usr/etc/ssh/sshd_config still apply? Or does the file in /etc fully override everything said and not said in /usr/etc? I mean, systemd override are partial. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
participants (4)
-
Andrei Borzenkov
-
Bob Williams
-
Carlos E. R.
-
Simon Lees