Quantcast
Viewing latest article 17
Browse Latest Browse All 765

ssh welcome message is suddenly gone

When I log in into my ubuntu server via ssh the only message that I get is the last login

Last login: Sun Oct 30 18:26:33 2022 from xxx.xxx.xxx.xx

However, previously I got

Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1017-raspi aarch64) * Documentation:  https://help.ubuntu.com * Management:     https://landscape.canonical.com * Support:        https://ubuntu.com/advantage  System information as of Sun Oct 30 18:40:05 UTC 2022  System load:           0.03271484375  Usage of /:            21.4% of 28.76GB  Memory usage:          5%  Swap usage:            0%  Temperature:           49.7 C  Processes:             143  Users logged in:       1  IPv4 address for eth0: xxx  IPv6 address for eth0: xxx * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s   just raised the bar for easy, resilient and secure K8s cluster deployment.   https://ubuntu.com/engage/secure-kubernetes-at-the-edge0 updates can be applied immediately.

which I can still run by

sudo run-parts /etc/update-motd.d/

I have no idea how I changed this behaviour. I just updated the system and rebooted. Maybe it was a kernel update, because there was a dialog that asked which services should be restarted. I did not really understand what this really meant and tried to choose every service, but pressing enter was applying the choices and not choosing the service. Hence, I thought a reboot will automatically restart all the services. I found a lot of threads how to disable motd but non how to enable it. I found the entry PrintMotd no in /etc/ssh/sshd_condig and changed to yes and thought okay that is it. However this did not seem to have an effect. At least the welcome message is still not displayed.

What can I do to enable the message again?


Viewing latest article 17
Browse Latest Browse All 765

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>