echo 'UseDNS no # if slow connection' >> /etc/ssh/sshd_config
echo 'PrintMotd yes # if you need motd messages' >> /etc/ssh/sshd_config
From /etc/pam.d/login && /etc/pam.d/sshd delete all strings included
session optional pam_motd.so
echo 'UseDNS no # if slow connection' >> /etc/ssh/sshd_config
echo 'PrintMotd yes # if you need motd messages' >> /etc/ssh/sshd_config
From /etc/pam.d/login && /etc/pam.d/sshd delete all strings included
session optional pam_motd.so