vi /etc/ssh/sshd_config
修改配置文件
1、禁用反向解析
然后再将UseDNS 参数改为no
将GSSAPIAuthentication参数改为no
将IgnoreRhosts参数改为yes
然后重启
systemctl restart sshd
一键解决
echo UseDNS no >> /etc/ssh/sshd_config; systemctl restart sshd;
vi /etc/ssh/sshd_config
修改配置文件
1、禁用反向解析
然后再将UseDNS 参数改为no
将GSSAPIAuthentication参数改为no
将IgnoreRhosts参数改为yes
然后重启
systemctl restart sshd
一键解决
echo UseDNS no >> /etc/ssh/sshd_config; systemctl restart sshd;