How do I silence annoying connection message?

I’ve installed the Rocky 8 KDE unofficial image on my new Digital Storm workstation. Everything is working great.

When I SSH into the system, I see the following annoying message on each connection:

Activate the web console with: systemctl enable --now cockpit.socket

Can someone please point me towards documentation that tells me how to silence this message? I do not want to activate the web console – I NEVER want admin functions to be accessible from the web.

I know this is a nit, I just don’t know how to turn it off and I don’t know enough about Rocky Linux to even know were to look.

I appreciate your attention.

You can try removing cockpit-ws, but I don’t know what else that will remove, so be careful and watch the deps it’s pulling with it. You could also try to remove /etc/motd.d/cockpit, but it’s likely it’ll just come back in an update.

Hi,

https://bugzilla.redhat.com/show_bug.cgi?id=1663812

ln -sfn /dev/null /etc/motd.d/cockpit

Thanks Tom.

This is exactly what I sought, thank YOU @tjdoyle.

1 Like