SSH MOTD.

Issues related to configuring your network
Post Reply
hack3rcon
Posts: 663
Joined: 2014/11/24 11:04:37

SSH MOTD.

Post by hack3rcon » 2020/09/04 16:34:57

Hello,
Is it possible SSH show a unique message for everyday login? Each day a new message.

Thank you.

User avatar
jlehtone
Posts: 3044
Joined: 2007/12/11 08:17:33
Location: Finland

Re: SSH MOTD.

Post by jlehtone » 2020/09/08 11:45:20

Yes.

PAM does execute pam_motd for sshd session. See man pam_motd and man motd
That is where shown messages do come from.

It is up to you to generate appropriate content.

Post Reply

Return to “CentOS 8 - Networking Support”