is placing ads in its motd when you ssh in.

The way it fetches this ad is by doing

USER_AGENT="curl/$curl_ver $lsb $platform $cpu $uptime cloud_id/$cloud_id"

curl -A "$USER_AGENT" ...

In other words, Ubuntu is sending Canonical tracking information so it can serve you an ad.

This doesn't exactly run every time you log in (it caches the ad in /var/cache), but still... phoning home for a frickin ad?

Oh, great, and this whole mechanism is part of base-files. You can't just delete a package to get rid of it, since it's a core, essential package.


If you want to get rid of it, do this:

sudo chmod -x /etc/update-motd.d/50-motd-news

Deleting the file would probably just reinstall it next time you do an upgrade, but removing its exec permissions should be more persistent.

@JordiGH seems really obnoxious that they couldn't leave something as basic as the MOTD alone

@JordiGH But, waitaminute, surely if you set a custom MOTD that script won't overwrite it? Otherwise they'd be killing an important feature of SSHD for admins of multi-user systems?

@cathal Hm, I'm not sure. It might!

But looks like you can also disable it other ways:

And people still wonder why Ubuntu get so much flak from the rest of the community.

Unrelated, but I also did this to {10-help-text,51-cloudguest,80-livepatch} because they were annoying/unhelpful.


as far as I understand, you can eliminate that in the preferences

In the "Privacy" tab there's a "connection checking" switch

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!