[Linux]终端ssh远程连接如何保持

yiyide266 / 2023-08-26 / 原文

在ssh命令后面添加参数-o ServerAliveInterval=32,例如:
ssh -o ServerAliveInterval=32 -l root 106.52.229.65