阻断ssh banner信息外泄

sudo sed -i 's/#Banner none/Banner none/g' /etc/ssh/sshd_config  
 #以禁用登录前的banner显示

 systemctl restart sshd