[2/2] backup: Add /etc/ssh/sshd_config.d

Message ID 20241207150400.2159-2-stefan.schantl@ipfire.org
State Accepted
Commit 955f8b14571d56cfd132710cdd29db30645aba67
Headers
Series [1/2] openssh: Introduce include directory for additional sshd config files |

Commit Message

Stefan Schantl Dec. 7, 2024, 3:04 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/backup/include | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Michael Tremer Dec. 9, 2024, 11:32 a.m. UTC | #1
Thank you Stefan.

I believe that we need to merge this patch set and use it to load the legacy RSA key on systems that still have one.

We currently hard-code this into the configuration file, but then we then don’t generate the key any more on new installations.

I will send a patch for this, and this change will need to go into Core Update 190.

Best,
-Michael

> On 7 Dec 2024, at 15:04, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> config/backup/include | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/config/backup/include b/config/backup/include
> index f0708c87f..0bf9440d3 100644
> --- a/config/backup/include
> +++ b/config/backup/include
> @@ -10,6 +10,7 @@ etc/logrotate.d
> etc/passwd
> etc/shadow
> etc/ssh/sshd_config
> +etc/ssh/sshd_config.d
> etc/ssh/ssh_host*
> etc/squid/squid.conf.local
> etc/squid/squid.conf.pre.local
> -- 
> 2.45.2
>
  

Patch

diff --git a/config/backup/include b/config/backup/include
index f0708c87f..0bf9440d3 100644
--- a/config/backup/include
+++ b/config/backup/include
@@ -10,6 +10,7 @@  etc/logrotate.d
 etc/passwd
 etc/shadow
 etc/ssh/sshd_config
+etc/ssh/sshd_config.d
 etc/ssh/ssh_host*
 etc/squid/squid.conf.local
 etc/squid/squid.conf.pre.local