- distribution info
- last login
- system load
- ip
- uptime
- memory usage
- disk usage
- swap usage
- number of active ssh sessions
- number of processes, total and owned by user
- remove /etc/motd and symlink dynamic motd with
ln -s /var/run/motd /etc/motd
- remove default "last login" text in
/etc/ssh/sshd_config
- install lsb_release, fortune and cowsay via apt-get or aptitude
- copy/clone files into
/etc/update-motd.d/
- execute command
run-parts /etc/update-motd.d/
for preview of the output