From ef0969cf50f49ded7d1c729f2734b84784fbec10 Mon Sep 17 00:00:00 2001 From: Jay Rogers Date: Tue, 10 Dec 2024 16:44:57 -0600 Subject: [PATCH] Enable MOTD and last login display in SSHD configuration --- src/rootfs/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rootfs/entrypoint.sh b/src/rootfs/entrypoint.sh index 039688a..687a3b9 100644 --- a/src/rootfs/entrypoint.sh +++ b/src/rootfs/entrypoint.sh @@ -105,6 +105,9 @@ echo "🤖 Setting SSHD configuration..." echo "HostKey ${ssh_host_key_dir}/ssh_host_ed25519_key" echo "SyslogFacility AUTH" echo "LogLevel VERBOSE" + # Enable MOTD display + echo "PrintMotd yes" + echo "PrintLastLog yes" # Strict authentication echo "PasswordAuthentication no" echo "UsePAM no"