Linux ssh 保持连接 Posted on 02-26-2021 Edited on 07-24-2021 Views: ClientFrom client, you can set this config to hold all the connection with servers. 12vim ~/.ssh/configServerAliveInterval 60 ServerFrom server, you can hold all the connection with clients. 12vim /etc/ssh/sshd_configClientAliveInterval 60