Cool SSH MOTD for Linux

11-17-08

I got bored of not having something useful displayed when logging into my box so I wrote a script and put it in cron.hourly now I get some “info” such as:

Latest Logins:
Latest SSH Failures: Total Count:
Latest SSH Errors:
Latest 10 /var/log/messages entries:
Latest Hardware Errors:
Latest DMESG Messages:

Click Read More to grab the code (It outputs pretty colours lol)

View the script here: http://it-support-hell-p.blue-pearls.net/files/motd.sh

This entry was posted on Monday, November 17th, 2008 at 9:37 am and is filed under linux, ssh, tips. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Cool SSH MOTD for Linux”

  1. you can go to a IP address site and find yours, and you can also find others, but what you can’t do is find out who they belong to as I am aware of so that is impossible

Leave a Reply