xshell 连接缓慢、自动断开、输入命令行卡顿 您所在的位置:网站首页 阿里云服务器老是断开连接怎么解决 xshell 连接缓慢、自动断开、输入命令行卡顿

xshell 连接缓慢、自动断开、输入命令行卡顿

2024-07-15 12:46| 来源: 网络整理| 查看: 265

xshell连接缓慢、自动断开

打开虚拟机文件:/etc/ssh/sshd_config

vim /etc/ssh/sshd_config

修改设置:

//去掉 # ClientAliveInterval 60 //每60秒发送保活信息 ClientAliveCountmax 3//连发3次,均无回应,关闭连接

设置xshell连接属性

转到该网址,查看图片: https://i.loli.net/2020/08/26/gdy6MmzIONpLTKC.png

xshell输入命令行 卡顿: //去掉 # UseDNS no

重启ssh服务:

service sshd restart systemctl restart sshd.service


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有