Skip to content

Commit

Permalink
Enable MOTD and last login display in SSHD configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Dec 10, 2024
1 parent 73f0789 commit ef0969c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rootfs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ef0969c

Please sign in to comment.