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