run below cmd to set the banner
vi /etc/issue.net
after that in vi editor please type your customized Banner save the file using
esc + wq!
now open the ssh configuration file
vi /etc/ssh/sshd_config
now search and remove #in front of "banner" word and provide the path to issue.net as replacement of current one
Banner /etc/issue.net
now run the below cmd
/etc/init.d/sshd restart
vi /etc/issue.net
after that in vi editor please type your customized Banner save the file using
esc + wq!
now open the ssh configuration file
vi /etc/ssh/sshd_config
now search and remove #in front of "banner" word and provide the path to issue.net as replacement of current one
Banner /etc/issue.net
now run the below cmd
/etc/init.d/sshd restart
Comments
Post a Comment