[Freezing/Lagging] ssh连接云服务器,几分钟不操作,输入什么都没反应
Tofloor
poster avatar
~月半(悟-空)
deepin
2022-02-24 02:59
Author

用ssh连接云服务器,几分钟不操作,再次输入,按什么键都没有反应,我知道服务器ssh配置可以调超时时间,但是我用win10的openssh连接即使超时掉线,命令行会有提示,而deepin系统的命令行无提示,无反应,输入什么都不显示,类似卡死.

另外微信截图的时候,选择截图时隐藏微信界面,可是并没什么用

微信截图_20220223185327.png

Reply Favorite View the author
All Replies
Maicss
deepin
2022-02-24 03:09
#1

这个可能并不是deepin终端的锅,因为我在Ubuntu下,ssh非正常断开的时候,也会卡死,需要关掉终端。

Reply View the author
~月半(悟-空)
deepin
2022-02-24 03:22
#2
Maicss

这个可能并不是deepin终端的锅,因为我在Ubuntu下,ssh非正常断开的时候,也会卡死,需要关掉终端。

挺坑啊,

Reply View the author
阿顺呀
deepin
2022-02-24 03:37
#3

唉 在我这里试了先连上,然后断了几分钟网。

再重新连上网,按下回车就显示这个,虽然断开了。然后还是可以正常使用终端的。其他情况就不知道了。

不过我服务器做了会话时长的,平时会自动重试 所以不会断

image.png

/etc/ssh/sshd_config

image.png

Reply View the author
羡慕朝西的生活
deepin
2022-02-24 17:18
#4

ping一下你的服务器,看是不是丢包了

Reply View the author
~月半(悟-空)
deepin
2022-02-26 02:21
#5

丢包不能,我两台电脑一个win10,一个deepin,win10用openssh从来没断过,用deepin就得不断重连,ssh服务端我都没配置,就是这个情况,可能linux系统都这样吧.

Reply View the author
156******80
deepin
2022-03-11 00:10
#6

输入 unset TMOUT

Reply View the author