Ubuntu 20.04 zeigt beim Anmelden über SSH in der motd (message of the day) Neuigkeiten an die es von einer Canoncial Webseite ( https://motd.ubuntu.com ) bezieht – nachfolgend in rot dargestellt
$ ssh user@server Enter passphrase for key '/home/user/.ssh/id_ed25519': Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.x.x-xx-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Jun 11 08:03:47 UTC 2020 System load: 0.04 Usage of /: 0.6% of 1.79TB Memory usage: 5% Swap usage: 0% Temperature: 39.0 C Processes: 206 Users logged in: 0 IPv4 address for enp6s0: xxx.xxx.xxx.xxx IPv6 address for enp6s0: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx * MicroK8s gets a native Windows installer and command-line integration. https://ubuntu.com/blog/microk8s-installers-windows-and-macos 0 updates can be installed immediately. 0 of these updates are security updates. Last login: Thu Jun 11 07:50:12 2020 from xxx.xxx.xxx.xxx
Mich stören diese Meldungen. Um sie abzustellen muss in der Datei /etc/default/motd-news folgendes angepasst werden:
[...] ENABLED=0 [...]
Nun werden die News beim erneuten Anmelden nicht mehr angezeigt.
ssh user@server Enter passphrase for key '/home/user/.ssh/id_ed25519': Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.x.x-xx-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Jun 11 08:07:28 UTC 2020 System load: 0.07 Usage of /: 0.6% of 1.79TB Memory usage: 4% Swap usage: 0% Temperature: 37.0 C Processes: 206 Users logged in: 1 IPv4 address for enp6s0: xxx.xxx.xxx.xxx IPv6 address for enp6s0: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx 0 updates can be installed immediately. 0 of these updates are security updates. Last login: Thu Jun 11 08:03:47 2020 from xxx.xxx.xxx.xxx