Xshell 自动断开解决方法

×

×

一、

vim /etc/ssh/sshd_config

i

ClientAliveInterval 30

ClientAliveCountMax 3

Esc : wq

二、

打开xhell工具,设置连接间隔为20秒,如图: