Tuesday, May 19, 2009

How to enable issue / banner message when user log in

Login as root and edit ssh config file:
# pico /etc/ssh/sshd_config
Find this variable in the config file
#Banner /etc/issue.net
Uncomment it and save the file.
Restart openssh server.
# /etc/init.d/ssh restart