Winscp鏈接linux/Centos總掉線提示15秒的解決方案

在服務器中/etc/ssh/ssh_config和/etc/ssh/sshd_config末尾加上如下代碼web TCPKeepAlive yes ClientAliveInterval 5 ClientAliveCountMax 3 重啓ssh服務後便可正常. systemctl reload sshd 或 systemctl restart sshd服務器 這樣,就不再會出現動不動就掉線了.s
相關文章
相關標籤/搜索