~$perlat kociaj
// package
discontinued
v1.0.0MIT

pk-motd

Custom MOTD scripts for Linux servers — replaces the default SSH login message with a dashboard showing system metrics, service status, SSL certs, and disk usage.

linuxshellservermotdsysadminlemp
// description

Description

pk-motd replaces the default Message of the Day on Linux servers with an enhanced dashboard that displays real-time system information when you SSH into your server.

Designed for LEMP stacks (Linux, Nginx, MySQL, PHP) but works on any Linux server. Shows everything you need at a glance: system health, running services, disk usage, SSL certificate expiry, and even a developer joke to start your session.

// features

Features

  • System info: hostname, uptime, load average, process count, memory usage, IP addresses
  • Visual disk usage graph
  • Available system updates count
  • Service status monitoring for Fail2Ban, MySQL, PHP-FPM, NGINX, UFW (customizable)
  • SSL certificate tracking with expiration dates
  • Active SSH sessions display
  • Developer jokes on login
// requirements

Requirements

  • Linux server (Ubuntu/Debian recommended)
  • Bash shell
  • SSH access
// installation

Installation

  1. 1Quick install: wget -O - https://raw.githubusercontent.com/perlatsp/pk-motd/main/install.sh | bash
  2. 2Or manually download custom-welcome-message.txt from the repository
  3. 3Rename and place it in /etc/update-motd.d/
  4. 4Set executable permissions: chmod 755 /etc/update-motd.d/custom-welcome-message
  5. 5Optionally disable default MOTD files: chmod -x /etc/update-motd.d/*
// faq

Frequently Asked Questions

// changelog

Changelog

1.0.0

  • Initial release
  • System info dashboard (hostname, uptime, load, memory, IPs)
  • Disk usage visualization
  • Service status monitoring
  • SSL certificate expiry tracking
  • One-line installer script
// ready?

Let's build something

I'm always excited to collaborate on new projects. Let's discuss how I can help bring your ideas to life.