解决内网ssh连接速度很慢的解决方案

服务器相互ping是延时小,但ssh -p 端口号 内网IP 时发现很慢,好长时间才返回。把服务器改按以下方法修改相应配置,再ssh相互连接发现很快:

# vi /etc/ssh/sshd_conf
UseDNS no

GSSAPIAuthentication no

保存退出

#service sshd restart
标签:SSH 发布于:2019-10-25 08:55:32