Linux入门教程:解决内网ssh连接速度很慢的解决方案,内网ssh
Linux入门教程:解决内网ssh连接速度很慢的解决方案,内网ssh
服务器相互ping是延时小,但ssh -p 端口号 内网IP 时发现很慢,好长时间才返回。把服务器改按以下方法修改相应配置,再ssh相互连接发现很快:
# vi /etc/ssh/sshd_conf
UseDNS no
GSSAPIAuthentication no
保存退出
#service sshd restart
服务器相互ping是延时小,但ssh -p 端口号 内网IP 时发现很慢,好长时间才返回。把服务器改按以下方法修改相应配置,再ssh相互连接发现很快:
# vi /etc/ssh/sshd_conf
UseDNS no
GSSAPIAuthentication no
保存退出
#service sshd restart
评论暂时关闭