Jonathan N. Little
2024-03-20 14:08:41 UTC
I have just 2 servers that display the MOTD messages twice when either
logging in or when ssh in. One is running 20.04 and the other 22.04, but
I have others servers that do not do this.
Also comparing confs for often posted "remedies" I have found in forums:
/etc/pam.d/login, /etc/pam.d/sshd, and /etc/ssh/sshd_config and my
/etc/ssh/sshd_config.d/local.conf are identical for the servers that
double the MOTD to those that properly only display it once. PUZZLED
logging in or when ssh in. One is running 20.04 and the other 22.04, but
I have others servers that do not do this.
Also comparing confs for often posted "remedies" I have found in forums:
/etc/pam.d/login, /etc/pam.d/sshd, and /etc/ssh/sshd_config and my
/etc/ssh/sshd_config.d/local.conf are identical for the servers that
double the MOTD to those that properly only display it once. PUZZLED
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com