How7oHow7o
  • Home
  • Tools
    • All Tools
    • Image Tools
    • Text & String Tools
    • Video Tools
    • Developer Tools
    • PDF Tools
    • Calculators & More
  • Prank Screens
  • Learn
  • Blog
  • Contact
Reading: Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)
Share
Notification Show More
Font ResizerAa
How7oHow7o
Font ResizerAa
  • OS
Search
  • Home
  • Tools
    • All Tools
    • Image Tools
    • Text & String Tools
    • Video Tools
    • Developer Tools
    • PDF Tools
    • Calculators & More
  • Prank Screens
  • Learn
  • Blog
  • Contact
Follow US
© 2024–2026 How7o. All rights reserved.
How7o > Free Laravel, PHP, WordPress & Server Tutorials > Server Management > Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)
Server Management

Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)

how7o
By how7o
Last updated: January 12, 2026
6 Min Read
Change welcome message on Ubuntu VPS server (MOTD + SSH banner)
SHARE

When I first logged into my Ubuntu VPS, the server greeted me with a big text “logo” and a welcome message from my hosting provider. It wasn’t harmful, but it felt unprofessional—especially when I share screenshots with clients or jump between multiple servers daily.

Contents
  • Quick summary (what you’ll change)
  • Step 1: Identify where the message is coming from
  • Step 2: Generate an ASCII logo (optional but looks cool)
  • Step 3: Change the welcome message on Ubuntu VPS (MOTD)
  • Step 4 (optional): Customize the dynamic MOTD (the “proper” way)
  • Step 5 (optional): Set an SSH banner (message BEFORE login)
  • Step 6: Test everything (without locking yourself out)
  • Revert to the original welcome message (if needed)
  • Related guides (internal links)
  • Final thoughts

So I decided to change welcome message on Ubuntu VPS to something clean: my own ASCII logo + a short note. Along the way I learned something important: Ubuntu can show two different messages—one before login (SSH banner) and one after login (MOTD). This guide covers both.

Change welcome message on Ubuntu VPS: banner vs MOTD

Quick summary (what you’ll change)

  • After login welcome message (MOTD): usually /etc/motd and/or scripts in /etc/update-motd.d/
  • Before login SSH banner: typically /etc/issue.net and the Banner setting in /etc/ssh/sshd_config

Step 1: Identify where the message is coming from

Open a new SSH session to your server and notice when the “provider logo” appears:

  • If it appears before you type your password → it’s an SSH banner.
  • If it appears after login → it’s your MOTD (Message of the Day).

I had it showing after login, so I started with MOTD first.

Step 2: Generate an ASCII logo (optional but looks cool)

If you want a text logo, the easiest method is using an ASCII text generator. I used this one:

  • ASCII Art text generator

Pick a font, type your name/brand, then copy the generated ASCII art.

Step 3: Change the welcome message on Ubuntu VPS (MOTD)

This is the most common case. The fastest solution is updating /etc/motd. I always back up first so I can revert in 10 seconds.

sudo cp /etc/motd /etc/motd.backup
sudo nano /etc/motd

Now paste your ASCII logo and your message. Example:

_                   _   _____   _   _           _   
| |    _____   _____| | |___ /  | | | | ___  ___| |_ 
| |   / _ \ \ / / _ \ |   |_ \  | |_| |/ _ \/ __| __|
| |__|  __/\ V /  __/ |  ___) | |  _  | (_) \__ \ |_ 
|_____\___| \_/ \___|_| |____/  |_| |_|\___/|___/\__|


Welcome!

This server is hosted by Level3Host. If you have any questions or need help,
please don't hesitate to contact us at [email protected]

Save and exit, then reconnect via SSH to confirm the new message shows up.

Tip: If your hosting provider message still shows up, you probably have a dynamic MOTD too (Ubuntu often builds extra lines from scripts). Use the next step to control that.

Step 4 (optional): Customize the dynamic MOTD (the “proper” way)

On many Ubuntu VPS servers, MOTD isn’t just one file. Ubuntu can generate extra login text from scripts in /etc/update-motd.d/. That’s why you sometimes see system info, updates count, or cloud/hosting messages after login.

List the scripts:

ls -1 /etc/update-motd.d/

If you notice a script clearly added by the provider, you can disable it by removing execute permission (safe and reversible):

sudo chmod -x /etc/update-motd.d/99-provider-message

Now, to add your own dynamic message (that always prints on login), create a custom script like this:

sudo nano /etc/update-motd.d/99-custom-welcome

Paste this (edit the text as you like):

#!/bin/sh
cat << 'EOF'
  __  __       _   ____  
 |  \/  | ___ | |_|  _ \ 
 | |\/| |/ _ \| __| | | |
 | |  | | (_) | |_| |_| |
 |_|  |_|\___/ \__|____/ 

Welcome to my Ubuntu VPS!
EOF
echo "Hostname: $(hostname)"
echo "Uptime: $(uptime -p)"

Make it executable:

sudo chmod +x /etc/update-motd.d/99-custom-welcome

Reconnect via SSH and you should see your custom output. This approach is nice because you can also show useful info like uptime, disk usage, or current project notes.

Step 5 (optional): Set an SSH banner (message BEFORE login)

If you want a message to appear before login (often used for security warnings or “Authorized access only”), you can use an SSH banner.

1) Edit /etc/issue.net:

sudo nano /etc/issue.net

Add something like:

Authorized access only.
This system may be monitored.

2) Enable it in SSH config:

sudo nano /etc/ssh/sshd_config

Find and set (or add):

Banner /etc/issue.net

Restart SSH:

sudo systemctl restart ssh

Step 6: Test everything (without locking yourself out)

Whenever I change SSH settings, I keep my current SSH session open and test from a second terminal. If something goes wrong, I can revert the config from the first session.

ssh youruser@your-server-ip

Revert to the original welcome message (if needed)

If you edited /etc/motd and want the old version back:

sudo cp /etc/motd.backup /etc/motd

If you disabled a script in /etc/update-motd.d/, just re-enable it:

sudo chmod +x /etc/update-motd.d/99-provider-message

Related guides (internal links)

  • How to Install Docker on AlmaLinux
  • How to Install Discourse on AlmaLinux

Final thoughts

Once I understood the difference between SSH banner (before login) and MOTD (after login), it was easy to change welcome message on Ubuntu VPS exactly the way I wanted. For most people, editing /etc/motd is enough. If your server is adding extra provider text, controlling /etc/update-motd.d/ gives you full control.

TAGGED:ASCII artLinuxMOTDpam_motdSSH bannerterminalUbuntuupdate-motdvps

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Copy Link Print
Previous Article Automatic logout timeout for command line in Ubuntu (TMOUT 300s) Automatic Logout Timeout for Command Line in Ubuntu (TMOUT 300s)
Next Article Installing Docker on AlmaLinux guide Install Docker on AlmaLinux: Step-by-Step (Docker CE + Compose)
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

You Might Also Like

Caddy server — automatic HTTPS, 3-line Caddyfile vs 25-line nginx config
Server Management

How to Install Caddy Server on Ubuntu (Automatic HTTPS, Drop-in nginx Alternative)

8 Min Read
Install MySQL on Ubuntu 22.04 — terminal with apt command and database cylinder icon
Server Management

How to Install MySQL on Ubuntu 22.04: Step-by-Step Guide

9 Min Read
WireGuard encrypted tunnel between server and clients with lock icons
Server Management

How to Set Up WireGuard VPN on Ubuntu (Server, Linux Client, and iOS)

10 Min Read
Check Pure-FTPd installed on Linux — rpm and dpkg package queries
Server Management

How to Check if Pure-FTPd Is Installed on Linux

5 Min Read
How7oHow7o

Free browser-based tools, prank screens, and step-by-step tech tutorials. No signup, nothing uploaded.

  • Private by design — your files never leave your device
  • Instant — no signup, no install, no waiting
  • Always free — no trials, no watermarks, no paywalls

Tools

  • PDF Editor
  • Image Upscaler
  • JPEG Compressor
  • Password Generator
  • QR Code Generator
  • Video Trimmer
  • See all tools →

Pranks

  • Cracked Screen Prank
  • Fake Blue Screen (BSOD)
  • Fake Disk Format
  • Fake Low Battery
  • Fake Virus Scan
  • Fake Windows 10 Update
  • See all prank screens →

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service
  • Sitemap
© 2024–2026 How7o. All rights reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?