Get the info displayed upon connecting to a linux ubuntu box via ssh on demand

When you connect to your linux box via ssh you’re normally presented with some information about the instance like so:

Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-91-generic x86_64)

* Documentation:
* Management:
* Support:

System information as of Tue 25 Jan 2022 01:39:34 PM UTC

System load:                      0.0
Usage of /:                       47.3% of 24.05GB
Memory usage:                     38%
Swap usage:                       51%
Processes:                        165
Users logged in:                  0
IPv4 address for br-44fea70a5606:
IPv4 address for docker0:
IPv4 address for eth0:            10.666.12.34
IPv4 address for eth0:  
IPv6 address for eth0:            1200:1a05::f0f0:f0f0:f0f0:f0f0

=> There is 1 zombie process.

22 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

*** System restart required ***
You have mail.
Last login: Tue Jan 25 13:26:30 2022 from

This information is located in /var/run/motd.dynamic so we can add an alias in our profile to get quickly check the information at boot-time:

alias login-message="cat /var/run/motd.dynamic" 
Topics: UBUNTU