How To Set Up BANNER
[root@ORACLE ~]# cat /etc/issue.netÂ
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Kernel \r on an \m
[root@ORACLE ~]# cat >> /etc/issue.netÂ
####################################
#########WRITE WHAT EVER U WANT TO RIGHT#########
########################################################
[root@ORACLE ~]# cat /etc/issue.netÂ
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Kernel \r on an \m
####################################
#########WRITE WHAT EVER U WANT TO RIGHT#########
########################################################
[root@ORACLE ~]# cat /etc/ssh/sshd_config | grep Banner
#Banner none
edit the file as per requirement
[root@ORACLE ~]# nano /etc/ssh/sshd_configÂ
[root@ORACLE ~]# cat /etc/ssh/sshd_config | grep Banner
Banner /etc/issue.net
[root@ORACLE ~]# service sshd restart
Stopping sshd: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [ Â OK Â ]
Starting sshd: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [ Â OK Â ]
======================================================================
IF U WANT SOME BETTER BANNER USE THIS
[root@ORACLE ~]# yum provides figlet
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
figlet-2.2.5-9.el6.x86_64 : A program for making large letters out of ordinary text
Repo     : epel
Matched from:
[root@ORACLE ~]# yum install figlet-2.2.5-9.el6.x86_64
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package figlet.x86_64 0:2.2.5-9.el6 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================
Package              Arch               Version                  Repository            Size
=================================================================================================================================================
Installing:
figlet              x86_64              2.2.5-9.el6                epel              123 k
Transaction Summary
=================================================================================================================================================
Install    1 Package(s)
Total download size: 123 k
Installed size: 654 k
Is this ok [y/N]: y
Downloading Packages:
figlet-2.2.5-9.el6.x86_64.rpm                                               | 123 kB   00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : figlet-2.2.5-9.el6.x86_64 Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 1/1
Verifying  : figlet-2.2.5-9.el6.x86_64                                                   1/1
Installed:
figlet.x86_64 0:2.2.5-9.el6
Complete!
 _  _  _____     __   _   ____  _____  _  _Â
| | | |/ _ \ \ Â Â Â / / Â Â / \ Â | Â _ \| ____| | | | |
|
| Â _ Â |
COPY THIS AND PASTE IN CONFIGURATION FILE IF U WANT
[root@ORACLE ~]# cat /etc/motdÂ
######### This server is related to some X purpose if u are wrongly logged in just logout ######
 _  _ _____ _   _   ___ Â
| | | | ____| | Â | | Â / _ \Â
| | Â _| | | Â | | Â | | | |
| Â _ Â | |___| |___| |__| |
|_|_____|_____|_____\___/Â
               Â
Broadcast message from root@ORACLE
(/dev/pts/0) at 19:10 …
The system is going down for reboot NOW!
[root@ORACLE ~]# Connection to 172.16.28.168 closed by remote host.
Connection to 172.16.28.168 closed.
mohammedrafi@NOC-RAFI:~$ ssh root@172.16.28.168
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Kernel \r on an \m
####################################
#########WRITE WHAT EVER U WANT TO RIGHT#########
########################################################
root@172.16.28.168’s password:
Last login: Thu Mar 31 18:55:59 2016 from 172.16.28.1
######### This server is related to some X purpose if u are wrongly logged in just logout ######
 _  _ _____ _   _   ___ Â
| | | | ____| | Â | | Â / _ \Â
| | Â _| | | Â | | Â | | | |
| Â _ Â | |___| |___| |__| |
|_|_____|_____|_____\___/Â
               Â
