关闭UseDNS和GSSAPIAuthentication选项,
2016-09-12 本文已影响0人
Mark87
编辑配置文件”/etc/ssh/sshd_config”
vim /etc/ssh/sshd_config
找到UseDNS选项,如果没有注释,将其注释
#UseDNS yes
添加
UseDNS no
找到GSSAPIAuthentication选项,如果没有注释,将其注释
#GSSAPIAuthentication yes
添加
GSSAPIAuthentication no
保存配置文件
重启OpenSSH服务器
service sshd restart