Monday, June 22, 2009

Change the SSH welcome info in Ubuntu

The How-To-Geek tells how to alter the chunk of information that gets printed to the console when connecting to an Ubuntu system via SSH. The applicable portion you will likely want to change lives at "/etc/motd", which is actually a link to "/var/run/motd".

The first line of this file, and therefore the first line printed when connecting to an Ubuntu machine using SSH, is some system information. This is the same information printed when you run this command:
uname -snvrm
What follows is some boring warranty information. Go nuts and customize this to however your heart desires. I recommend making a back up first:
cp /etc/motd /etc/motd.orig

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.