How7o
  • Home
  • Marketing
    MarketingShow More
    The Beginner’s Guide about Facebook Advertising
    6 Min Read
    64 Creative Marketing Ideas to Boost Your Business
    6 Min Read
  • Resouce
    ResouceShow More
    5 Must-Have Digital Marketing Data Sources
    6 Min Read
    Archival Solution Deployment Best Practices
    6 Min Read
    How Secure Your Mobile Device in Six Steps
    6 Min Read
    5 Effective Ways to Increase Market Share Online
    6 Min Read
    Tips Debugging with CMS code Optimization Quick
    6 Min Read
  • Features
    FeaturesShow More
    7 Things You Need to Know About Feature Driven
    6 Min Read
    Turn an Excel Spreadsheet or Google Sheets Doc
    6 Min Read
    3 Common Ways to Forecast Currency Exchange
    6 Min Read
    Step by Step Guide to a Technical SEO Audit
    6 Min Read
    10+ Free Tools to Make Your Own Animated GIFs
    6 Min Read
  • Guide
    GuideShow More
    Create an Engagement Custom Audience from Video
    6 Min Read
    The Ultimate Guide, Easily Make Videos Tutorials
    6 Min Read
    Tips to Keep Your Cloud Storage Safe and Secure
    6 Min Read
  • Contact
  • Blog
Reading: Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)
Share
Subscribe Now
How7oHow7o
Font ResizerAa
  • Marketing
  • Resouce
  • Features
  • Guide
  • Complaint
  • Advertise
Search
  • Categories
    • Marketing
    • Resouce
    • Features
    • Guide
    • Lifestyle
    • Wellness
    • Healthy
    • Nutrition
  • More Foxiz
    • Blog Index
    • Complaint
    • Sitemap
    • Advertise
Follow US
Copyright © 2014-2023 Ruby Theme Ltd. All Rights Reserved.
How7o > Blog > 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.
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

Your email address will not be published. Required fields are marked *

FacebookLike
XFollow
PinterestPin
InstagramFollow

Subscribe Now

Subscribe to our newsletter to get our newest articles instantly!
Most Popular
How I Fixed Composer Dependency Errors
How I Fixed Composer Dependency Errors Using the –ignore-platform-reqs Flag (Step-by-Step Guide)
January 12, 2026
Transfer Discourse to a new server
How to Transfer Discourse to a New Server on AlmaLinux (Backup + Restore, Step-by-Step)
January 12, 2026
Installed Discourse on AlmaLinux
How I Installed Discourse on AlmaLinux (Docker Method, Step-by-Step)
January 12, 2026
Installing Docker on AlmaLinux guide
Install Docker on AlmaLinux: Step-by-Step (Docker CE + Compose)
January 12, 2026
Change welcome message on Ubuntu VPS server (MOTD + SSH banner)
Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)
January 12, 2026

You Might Also Like

Create a Directory in Ubuntu
Server Management

Create a Directory in Ubuntu (mkdir Command + Examples)

4 Min Read
Update Ubuntu to the latest kernel version
Server Management

Update Ubuntu to the Latest Kernel Version (Safe Server Steps)

5 Min Read
Automatic logout timeout for command line in Ubuntu (TMOUT 300s)
Server Management

Automatic Logout Timeout for Command Line in Ubuntu (TMOUT 300s)

5 Min Read
Check if GD library is installed in PHP (phpinfo and extension_loaded)
Web Development

How to Check if GD Library Is Installed in PHP (3 Easy Methods)

5 Min Read

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!
How7o

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

Latest News

  • SEO Audit Tool
  • Client ReferralsNew
  • Execution of SEO
  • Reporting Tool

Resouce

  • Google Search Console
  • Google Keyword Planner
  • Google OptimiseHot
  • SEO Spider

Get the Top 10 in Search!

Looking for a trustworthy service to optimize the company website?
Request a Quote
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?