Monday, April 9, 2012

How To Add Welcome Banner For SSH Login On CentOS 6.2

************** !!!! .Here is few step for SSH Server login welcome banner.!!!! *****************

Server side :-
Create a welcome banner file under " /etc/ssh/banner "

1. [root@localhost ~]# nano /etc/ssh/banner


Now specify the created banner file to " /etc/ssh/sshd.conf "

2. [root@localhost ~]# vim /etc/ssh/sshd_config


line no 129 uncomment this line by removing # and specify the Welcome banner file. { modify }


3. [root@localhost ~]# service sshd restart

Client side :-

1. [root@server ~]# ssh 192.168.0.8


### Enjoy the magic ###


Favorites