1.打开linux 第2:找 vim /etc/ssh/sshd_config 第3:在找 #UseDNS yes 第4:这个给去掉# 换成这个:UseDNS no 2.重启:systemctl restart sshd