Explore this Article
parts
Other Sections
X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 13 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 69,291 times.
Learn more...
It's easy to create your own welcome message for remote users who log in to your Ubuntu Linux machine. We'll show you how to create your own custom banner in no time!
Steps
Part 1
Part 1 of 3:
Adding a Welcome Message
-
1Sudo to root. You will need to modify superuser file.
-
2Open the config file for the banner. Type vim /etc/issue.netAdvertisement
-
3Read the file. You will get a screen similar to the one shown.
-
4Add your message. Next just below the lines of Debian 6.0, type any custom message you feel.
-
5Check the look of the file. The issue.net file looks as shown
-
6Exit out of this file. Save the changes by typing EscKey + !wq
Advertisement
Part 2
Part 2 of 3:
Configuring SSH Daemon
-
1Close SSH if running. You need to make SSH understand that you need to enable the Banner Message.
-
2Open the configuration file. Issue the command, vim /etc/ssh/sshd_config
-
3Modify the file. Now in the sshd_config file, you need to uncomment the Banner portion as shown
-
4Start SSH. Issue the command --> /etc/init.d/ssh restart
-
5Wait until restarted. The OpenSSH Server Daemon process will restart.
Advertisement
Part 3
Part 3 of 3:
Testing the Message
You Might Also Like
![Install Google Chrome Using Terminal on Linux](./images/2545239166--crop-342-184-245px-Install-Google-Chrome-Using-Terminal-on-Linux-Step-7-Version-2.webp)
How to
Install Google Chrome Using Terminal on Linux
![Can Linux Run Exe](./images/761671391--crop-342-184-245px-Can-Linux-Run-Exe-Step-7-Version-2.webp)
![Add or Change the Default Gateway in Linux](./images/2554870324--crop-342-184-246px-Add-or-Change-the-Default-Gateway-in-Linux-Step-9.webp)
How to
Add or Change the Default Gateway in Linux
![Open Ports in Linux Server Firewall](./images/106247757--crop-342-184-245px-Open-Ports-in-Linux-Server-Firewall-Step-18.webp)
![Execute INSTALL.sh Files in Linux Using Terminal](./images/2314814709--crop-342-184-245px-Execute-INSTALL.sh-Files-in-Linux-Using-Terminal-Step-4-Version-4.webp)
![Take a Screenshot in Linux](./images/1354184269--crop-342-184-245px-Take-a-Screenshot-in-Linux-Step-23-Version-2.webp)
How to
Take a Screenshot in Linux
![Ping in Linux](./images/3361940980--crop-342-184-245px-Ping-in-Linux-Step-13.webp)
![Become Root in Linux](./images/4236651191--crop-342-184-245px-Become-Root-in-Linux-Step-32.webp)
How to
Become Root in Linux
![Delete Read Only Files in Linux](./images/1350972134--crop-342-184-245px-Delete-Read-Only-Files-in-Linux-Step-17.webp)
![Create a File in a Directory in Linux](./images/2464036498--crop-342-184-245px-Create-a-File-in-a-Directory-in-Linux-Step-29.webp)
How to
Create a File in a Directory in Linux
![Use Wine on Linux](./images/469641449--crop-342-184-245px-Use-Wine-on-Linux-Step-20.webp)
How to
Use Wine on Linux
![Boot Linux from a USB on Windows 10](./images/674052935--crop-342-184-245px-Boot-Linux-from-a-USB-on-Windows-10-Step-14-Version-2.webp)
How to
Boot Linux from a USB on Windows 10
![Assign an IP Address on a Linux Computer](./images/4019077138--crop-342-184-245px-Assign-an-IP-Address-on-a-Linux-Computer-Step-21-Version-2.webp)
How to
Assign an IP Address on a Linux Computer
![Install Puppy Linux](./images/2674143755--crop-342-184-245px-Install-Puppy-Linux-Step-18-Version-3.webp)
Advertisement
About This Article
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 13 people, some anonymous, worked to edit and improve it over time. This article has been viewed 69,291 times.
How helpful is this?
Co-authors: 13
Updated: October 6, 2021
Views: 69,291
Categories: Linux
Advertisement