1. Create the file with appropriate text.
# vi /etc/issue
###########################################################
# #
# Use of this computer system (including email and internet access) #
# is monitored and recorded. Unauthorised or improper use may result in #
# disciplinary action, which could lead to criminal prosecution. #
# #
##########################################################
2. Edit the sshd_config file.
# vi /etc/ssh/sshd_config
Remove the comment from the line:
# Banner to be printed before authentication starts
# Banner /etc/issue
3. Restart the ssh service.
# svcadm restart /network/ssh
No comments:
Post a Comment