Skip to content

Instantly share code, notes, and snippets.

@asimzeeshan
Created October 7, 2012 13:52
Show Gist options
  • Save asimzeeshan/3848455 to your computer and use it in GitHub Desktop.
Save asimzeeshan/3848455 to your computer and use it in GitHub Desktop.
Configure MOTD / Sysinfo on ssh login
#!/bin/bash
# Show motd on Ubuntu only because no such utility exists on Debian at the moment
#
# Tested on Ubuntu 12.04
# Tested on Virtualization type: OpenVZ, KVM, XEN-PV
#
# By: Asim Zeeshan
# http://www.asim.pk/
apt-get clean all
apt-get -q -y autoremove
apt-get update
apt-get -q -y upgrade
apt-get -q -y install landscape-common
dpkg-reconfigure landscape-common
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment