更改服務(wù)器端 打開 vim/etc/ssh/sshd_config 添加 ClientAliveInterval 30 ClientAliveCountMax 6 重啟ssh service sshd reload