From ae2fc9244bfe1fdfdf3fb7f16a9799e3a29f124a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 11 Aug 2023 11:36:08 -0400 Subject: [PATCH] support drop-in configurations for ssh configs --- ssh/ssh_config | 3 +++ ssh/sshd_config | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ssh/ssh_config b/ssh/ssh_config index 8ba31e5..bcbd884 100644 --- a/ssh/ssh_config +++ b/ssh/ssh_config @@ -1,3 +1,6 @@ +# Include drop-in configurations +Include /etc/ssh/ssh_config.d/*.conf + ServerAliveInterval 60 ServerAliveCountMax 10 TCPKeepAlive no diff --git a/ssh/sshd_config b/ssh/sshd_config index cb2a771..f1f73c1 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -1,4 +1,5 @@ -# $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $ +# Include drop-in configurations +Include /etc/ssh/sshd_config.d/*.conf # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information.