From 28977ce4f6f0077dd9c91a44b2a10fc61f3840c8 Mon Sep 17 00:00:00 2001
From: Rich Megginson sshd_main_config_file
) is checked to contain a proper
Include
directive.
When the system is using drop-in directory, this option can be used
+to set a path to the main configuration file and let you configure only
+the drop-in configuration file using sshd_config_file
. This
+is useful in cases when you need to configure second independent sshd
+service with different configuration file. This is also the file used in
+the service file.
On systems without drop-in directory, it defaults to
+None
. Otherwise it defaults to
+/etc/ssh/sshd_config
. When the
+sshd_config_file
is set outside of the drop in directory
+(its parent directory is not sshd_main_config_file
~ '.d'),
+this variable is ignored.
By default (null), the role defines whole content of the configuration file including system defaults. You can use this variable diff --git a/CHANGELOG.md b/CHANGELOG.md index a8716c6..8fae7db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Changelog ========= +[v0.23.4] - 2024-04-05 +-------------------- + +### Bug Fixes + +- fix: Document and streamline the sshd_main_config_file (#281) + [v0.23.3] - 2024-04-03 -------------------- @@ -66,7 +73,6 @@ Changelog Issue Tracker Tickets (Jira or BZ if any): #259 #260 #261 - [v0.21.0] - 2023-09-12 -------------------- @@ -222,7 +228,6 @@ Changelog This removes the `defaults/Debian.yml` file and moves it to the `defaults/Debian_7.yml` file. This prohibits rolling out ancient config on new Debian-Systems which aren't supported by this role. - [v0.19.0] - 2023-04-27 --------------------