How to properly invoke motd for SSH connections with PAM disabled

Solution 1:

You can edit the /etc/ssh/sshd_config file on your server and un-comment or add the following line:

PrintMotd yes

Then restart SSH with sudo service ssh restart.