Monday, March 19, 2012

SSH BANNER


                 Setting up banner when Putty through Login

In SLES 11 =:

Edit like this

#   cat /etc/issue

                                      BSE  Ltd.



       "This system is for the use of authorized personnel only. Unauthorized or improper use of this system may
result in administrative disciplinary action and/or legal action by the BSE Ltd. management. By continuing to use
this system indicate your awareness of IS policies of BSE Ltd. and adhering to the same."




#  vim /etc/ssh/sshd_config

Add following line
Or
Edit the Banner none line 

# no default banner path
Banner /etc/issue

Then restart the ssh service

No comments:

Post a Comment