1

寻找解决方案以防止谷歌云外壳在发现您空闲时断开连接,甚至在您运行某些处理并让系统空闲时也会断开连接。

显示的信息Connection to Cloud Shell has been lost. Any additional changes will not be saved.

4

2 回答 2

2

此行为是设计使然,因为 Cloud Shell 仅供交互式使用

于 2021-07-12T14:59:49.497 回答
0

修复它的一种方法是在 TMUX 终端中运行 ping 命令。

apt install tmux
apt update
tmux
ping google.com
Ctrl+b "

这样做的缺点是你将工作半屏。

于 2021-07-12T14:05:31.043 回答