From 4fc691d1dbde116d5f7580856386503a76d60d3b Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 12 Nov 2025 08:33:13 -0500 Subject: [PATCH] feature: explicitly set PrintMotd SSH option to always be true to allow non-script MOTD capabilities regardless of PAM usage in SSH --- roles/bootstrap/templates/sshd_config.d/auth.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/bootstrap/templates/sshd_config.d/auth.conf.j2 b/roles/bootstrap/templates/sshd_config.d/auth.conf.j2 index 42b16ca..7438306 100644 --- a/roles/bootstrap/templates/sshd_config.d/auth.conf.j2 +++ b/roles/bootstrap/templates/sshd_config.d/auth.conf.j2 @@ -24,4 +24,5 @@ UsePAM no # enable if implementing TOTP 2FA PubkeyAuthentication yes {% else %} PubkeyAuthentication no -{% endif %} \ No newline at end of file +{% endif %} +PrintMotd yes \ No newline at end of file