–直接执行
cd /etc/
touch ssh_banner_change
echo ‘Version is empty’>> /etc/ssh_banner_change
cd /etc/ssh/
cp sshd_config sshd_config_bak20200525
echo ‘Banner /etc/ssh_banner_change’>> /etc/ssh/sshd_config
sudo service sshd restart
–在shellX里直接执行
–直接执行
cd /etc/
touch ssh_banner_change
echo ‘Version is empty’>> /etc/ssh_banner_change
cd /etc/ssh/
cp sshd_config sshd_config_bak20200525
echo ‘Banner /etc/ssh_banner_change’>> /etc/ssh/sshd_config
sudo service sshd restart
–在shellX里直接执行