在ssh服务端上更改/etc/ssh/sshd_config文件中的配置为如下内容:

UseDNS no 

GSSAPIAuthentication no