ssh banner隐藏
1.nmap获取ssh banner信息
namp -sV -p 22 ip

2.nc获取 ssh banner信息
nc ip 22

3.metasploit获取ssh banner信息
msf conslole
use auxiliary/scanner/ssh/ssh_version
msf auxiliary(ssh_version)>set rhosts IP
msf auxiliary(ssh_version)>set rport 22
msf auxiliary(ssh_version)>exploit


4.配置ssh规避banner信息
在ssh配置文件sshd_config中新增一行DebianBanner no
cd ..
cd ..
cd etc/
cd ssh/
sudo gedit sshd__config

保存后重启服务
再次探测

banner信息已隐藏