Debian: Adding a bash banner

Debian: Adding a bash banner

I have been tasked with commissioning a few Debian servers that are to be public facing and one of the housekeeping tasks has been to brand and secure the box. I thought I would just share this quick and easy modification to display your own custom banner whenever you SSH into the box or log in on the server console

okay so go over to you SSH console and open the following text file with your favourite text editor

nano /etc/motd

 

once you have opened the MOTD banner remove the content and add your custom banner

###############################################################
# Welcome to Cisco Systems                                    #
# Point of Contact: Network Services Team                     #
# All connections are monitored and recorded                  #
# Disconnect IMMEDIATELY if you are not an authorized user!   #
###############################################################
Advertisements