Skip to content

Commit ef0969c

Browse files
committed
Enable MOTD and last login display in SSHD configuration
1 parent 73f0789 commit ef0969c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rootfs/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ echo "🤖 Setting SSHD configuration..."
105105
echo "HostKey ${ssh_host_key_dir}/ssh_host_ed25519_key"
106106
echo "SyslogFacility AUTH"
107107
echo "LogLevel VERBOSE"
108+
# Enable MOTD display
109+
echo "PrintMotd yes"
110+
echo "PrintLastLog yes"
108111
# Strict authentication
109112
echo "PasswordAuthentication no"
110113
echo "UsePAM no"

0 commit comments

Comments
 (0)