How7o
  • Home
  • Tools
  • Prank Screens
  • Learn
  • Blog
  • Contact
Reading: Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)
Share
How7oHow7o
Font ResizerAa
  • OS
Search
  • Home
  • Tools
  • 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.

FacebookLike
XFollow
PinterestPin
InstagramFollow
Most Popular
Set vi as the default editor in Ubuntu — a terminal opening the vim editor
How to Set vi (Vim) as the Default Editor in Ubuntu
June 8, 2026
rsync says ALL DONE but files are missing — a terminal showing ALL DONE next to an empty folder
rsync Says “ALL DONE” but Files Are Missing: How to Verify
June 8, 2026
Migrate a website to a new server with rsync — files copying from an old server to a new one over SSH
How to Migrate a Website to a New Server With rsync
June 8, 2026
Bun runtime — faster JS toolkit replacing npm in Laravel projects
How to Install Bun Runtime on Ubuntu (And Use It in a Laravel Project)
May 24, 2026
Tailscale mesh — peer-to-peer connections between devices, coordination server
How to Install Tailscale on Ubuntu (Zero-Config Mesh VPN for Self-Hosters)
May 24, 2026

You Might Also Like

Enable the PHP DOM extension on a Linux server
Server Management

How to Enable the PHP DOM Extension

5 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
Install the Apache web server on Ubuntu
Server Management

How to Install the Apache Web Server on Ubuntu

7 Min Read
Zip multiple files and directories on Linux — zip -r command
Server Management

How to Zip Multiple Files and Directories on Linux

5 Min Read
How7o

We provide tips, tricks, and advice for improving websites and doing better search.

Tools

  • Age Calculator
  • Word Counter
  • Image Upscaler
  • Password Generator
  • QR Code Generator
  • See all tools→

Pranks

  • Fake Blue Screen Prank
  • Hacker Typer
  • Fake iMessage Generator
  • Windows XP Crash Prank
  • Windows 11 Update Prank
  • 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?