现象:通过ssh连接linux服务器比较慢
解决方法:设置 /etc/ssh/sshd_config中UseDNS no,并生效
如下:
[root@ceshi1 ~]# grep "DNS" /etc/ssh/sshd_config
UseDNS no
/etc/init.d/sshd reload
现象:通过ssh连接linux服务器比较慢
解决方法:设置 /etc/ssh/sshd_config中UseDNS no,并生效
如下:
[root@ceshi1 ~]# grep "DNS" /etc/ssh/sshd_config
UseDNS no
/etc/init.d/sshd reload