###############################################################
# WARNING #
# All connections are monitored and recorded #
# Disconnect IMMEDIATELY if you are not an authorized user! #
###############################################################
修改sshd 修改文件/etc/ssh/sshd_config 将Banner修改成如下:
Banner /etc/issue.net
重启sshd
systemctl restart sshd
修改登录后提示信息
修改/etc/motd
#cat /etc/motd********************************************************************* *
* This system is for the use of authorized users only. Usage of *
* this system may be monitored and recorded by system personnel. *
* *
* Anyone using this system expressly consents to such monitoring *
* and is advised that if such monitoring reveals possible *
* evidence of criminal activity, system personnel may provide the *
* evidence from such monitoring to law enforcement officials. *
* *
********************************************************************