ssh问题
Tofloor
poster avatar
li2009436276
deepin
2020-12-25 23:57
Author

ssh远程链接,如果一段时间,大概5左右不操作,会自动断开,终端无法在输入任何内容

Reply Favorite View the author
All Replies
angelfind
deepin
2020-12-26 00:20
#1


这个是你的服务器配置问题. 可以自行百度搜索解决办法. 一般不会是5妙, 起码1分钟左右.

Reply View the author
deepinuser17
deepin
2020-12-26 08:41
#2

创建一个文件, ~/.ssh/config, 如下:
Host *

   ServerAliveInterval 60
ClientAliveInterval 60



Reply View the author
li2009436276
deepin
2021-01-04 06:15
#3
deepinuser17

创建一个文件, ~/.ssh/config, 如下:
Host *

   ServerAliveInterval 60
ClientAliveInterval 60



谢谢

Reply View the author
li2009436276
deepin
2021-01-04 06:16
#4
angelfind


这个是你的服务器配置问题. 可以自行百度搜索解决办法. 一般不会是5妙, 起码1分钟左右.

谢谢

Reply View the author