Skip to content

Instantly share code, notes, and snippets.

View aPythonAteMyBaguette's full-sized avatar

aPythonAteMyBaguette aPythonAteMyBaguette

  • Joined Sep 16, 2025
View GitHub Profile
@aPythonAteMyBaguette
aPythonAteMyBaguette / Customizing-the-SSH-login-message-on-Linux-distros.md
Last active October 5, 2025 15:34
Customizing the SSH login message on Linux distros

Customizing the SSH login message on Linux distros

How to customize the login message displayed when starting an SSH session for Linux distros.

1 - Prerequisites

This works well and remains persistent on Raspberry Pi OS Lite.

Note that some distributions regenerate the MOTD automatically, so direct modifications may not persist unless you create executable scripts within /etc/update-motd.d.