• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Change SSH Welcome Message (Ubuntu, Rackspace Cloud)

By Abhishek Ghosh August 12, 2014 4:15 pm Updated on August 12, 2014

Change SSH Welcome Message (Ubuntu, Rackspace Cloud)

Advertisement

Here is How You Can Change SSH Welcome Message, Also Known as Message of the Day or MOTD on Ubuntu Server on Rackspace Cloud By Simple Way. The default message is somewhat like Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.2.0-29-virtual x86_64). Documentation: https://help.ubuntu.com/, System information as of etceteras not only boring but also useless because this Message of the Day or MOTD on Ubuntu Server can be really informative as it can print message, system info dynamically from script. The default is an example, depending on the vendor, the message can be changed at compilation level, like Digital Ocean outputs a different message.

 

How To Change SSH Welcome Message (Ubuntu, Rackspace Cloud)

 

After doing the change, one of our server gives output like this :

Change-SSH-Welcome-Message-Ubuntu

That “Welcome to Master Instance of thecustomizewindows.com. PublicNet address is…” is a changed, custom message. We can understand that we are on the Master instance. If we need the PublicNet or ServiceNet IP of own server, we can easily copy. With usage of various API, Programs, these message can be more useful and even colorful!

Advertisement

---

 

Steps To Change SSH Welcome Message

 

It is very easy! Official documentation is huge :

Vim
1
https://wiki.ubuntu.com/UpdateMotd

This is a daemon and can suck some memory. One can reduce the memory consumption by printing non-dynamic text message. Stopping the daemon can mask fatal warning.

If you have some experience on shell scripting, it will give you more ideas. Here we are only giving example of easy simple editing. First SSH to the server. Change directory to the /etc/update-motd.d and list the files :

Vim
1
cd /etc/update-motd.d && ls

You will see there are three files :

Vim
1
00-header  10-help-text  91-release-upgrade

That 00-header is the file which on Rackspace, Ubuntu 14.04 by default reads. So, we can open it with nano :

Vim
1
nano 00-header

After lot of commented out lines, you will find this :

Vim
1
2
3
4
5
6
7
8
[ -r /etc/lsb-release ] && . /etc/lsb-release
 
if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
        # Fall back to using the very slow lsb_release utility
        DISTRIB_DESCRIPTION=$(lsb_release -s -d)
fi
 
printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname....

That last line with printf actually outputs the things on ssh. If you change it to simple plain text, you’ll get a plain text output. It is better to take a backup copy before editing. Save it, SSH after few minutes, you will see the change on login.
You can put scary message like “You got in to the system, thats true; but we are watching you! You can exit from SSH but we will find you in real life.” Getting such a message is not very comfortable to a script kiddie who somehow got the access. Technically, you should not point towards any location where you keep passwords and other stuffs. Instead you can print misleading info.

Tagged With change ssh login text ubuntu 16 04 , modify server message ubuntu cloud , ssh change welcome message raspbian show dynamic data , ubuntu 14 04 welcome message

This Article Has Been Shared 374 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Change SSH Welcome Message (Ubuntu, Rackspace Cloud)

  • Online Markdown Editor of Your Own : Again Full Cloud Based

    Online Markdown Editor of Your Own can be hosted on Dropbox or Rackspace Cloud Files as practically all the files – javascript, images, CSS are static files.

  • Which CDN is Best for Serving Static Contents and Streaming

    Which CDN is Best has one answer – Akamai. Akamai is the global standard and used by IBM to Microsoft. You have to find someone using their infrastructure.

  • Myths About Private Cloud

    Myths About Private Cloud decreases the chance of expandability for a company or an organization.Both public and hybrid cloud computing can be used selectively.

  • New Trends in Cloud Computing

    New trends in cloud computing means, seeking some new way and finding the answer whether to use it. Cloud computing has become a real trend from the media hype. Cloud Computing is a good option when you know about the points on security, the definite flaws, the weaker sides. There are three related article which […]

  • Cloud computing is Not Equal to the Future of Computing

    Cloud computing is Not Equal to the Future of Computing. Cloud Computing is an marketing term which is closer to the technology of grid computing since decades.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Big Data in Sports May 20, 2022
  • FaaS Versus PaaS Deployment: What You Should Know May 18, 2022
  • What Is A Digital Media Consultancy? May 17, 2022
  • How Artificial Intelligence (AI) Is Changing The Way We Play Bingo May 16, 2022
  • Why You Need A Big Data Consultant May 15, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Change SSH Welcome Message (Ubuntu, Rackspace Cloud)," in The Customize Windows, August 12, 2014, May 22, 2022, https://thecustomizewindows.com/2014/08/change-ssh-welcome-message-ubuntu-rackspace-cloud/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy