Login banner in UBUNTU
Step: 01
Edit vi /etc/issue.net
Edit vi /etc/issue.net
[Set the banner design as per your requirement]
#############################################
# If you are not authorized to access #
# or use this system, disconnect now #
#############################################
Step: 02
#vi /etc/ssh/sshd_config
[Uncomment Banner as mentioned below]
Banner /etc/issue.net
Step: 03
Restart the ssh service
#/etc/init.d/ssh restart
[Check the banner during login attempt]
Comments
Post a Comment