DNS反查

现象:通过ssh连接linux服务器比较慢

解决方法:设置 /etc/ssh/sshd_config中UseDNS no,并生效

如下:

[root@ceshi1 ~]#  grep "DNS" /etc/ssh/sshd_config

UseDNS no

/etc/init.d/sshd reload

猜你喜欢

转载自pcpig.iteye.com/blog/1431240
DNS