Reference: https://www.rainng.com/ssh-banner/
1. The banner command in sshd, its function is to display information before the user logs in, which can prevent some ssh weak passwords from brute force cracking
Operation:
add a path to the sshd_config configuration file
vim /etc/ssh/sshd_config
New content to be displayed
vim /etc/ssh_Banner
Restart ssh service
systemctl restart sshd
or
service sshd restart
Effect:
In dos
In tool: