Install neofetch on a server to display useful information when a user logs in.
sudo aptitude install neofetch
Edit the file /usr/share/neofetch/config
as superuser root
to display desired information.
Edit or comment out all lines in /etc/update-motd.d/10-uname
. Remove all lines from /etc/motd
to remove the message of the day notice.
Append the following to the file to disable lastlog message notice:
PrintLastLog no
Restart the ssh server:
sudo systemctl restart ssh
Append the following line to /etc/profile
to display neofetch for all users on login:
neofetch --config none
Login with any user through ssh to make sure that neofetch displays system information to the current terminal.