一、
vim /etc/ssh/sshd_config
i
ClientAliveInterval 30
ClientAliveCountMax 3
Esc : wq
二、
打开xhell工具,设置连接间隔为20秒,如图:

We're open for new collaborations.
News to be updated weekly.
一、
vim /etc/ssh/sshd_config
i
ClientAliveInterval 30
ClientAliveCountMax 3
Esc : wq
二、
打开xhell工具,设置连接间隔为20秒,如图: