一般的只需要修改/etc/ssh/sshd_config,注意是sshd_config ,而不是ssh_config,
设置 UseDNS=no
GSSAPIAuthentication no #GSSAPIAuthentication yes
#UseDNS yes UseDNS=no
然后重启 service sshd restart