Logging into a server with ssh produces the landscape-generated message of the day, which includes the suggestion for using https://landscape.canonical.com/ to graph data:
Graph this data and manage this system at https://landscape.canonical.com/
How can I trim this or other lines from the ssh greeting? With legal boilerplate added to the login banner already, I'd like to keep some information from landscape-sysinfo, but see less of it.
To remove the
landscape.canonical.com
line, create or edit (as root) the file/etc/landscape/client.conf
.In
/etc/landscape/client.conf
, add these lines:This works for all default plugins:
So, to have your motd look more like this :
...you would want to remove
Temperature
,LandscapeLink
,Processes
from the landscape-sysinfo process.These can be added in the client.conf file as before, comma separated:
This can be tested one the command line with:
landscape-sysinfo --exclude-sysinfo-plugins=Temperature,LandscapeLink,Processes
See
landscape-sysinfo --help
for some additional information.