轉自:http://www.putty.ws/putty-chaoshi
1 在 linux下的ssh命令:vim /etc/ssh/ssh_config
然后找到里面的ServerAliveInterval 參數,如果沒有你同樣自己加一個就好了。參數意義相同,都是秒數,比如9分鍾:
ServerAliveInterval 540
2 SecureCRT
設置反空閑,如下圖所示
3 Putty
啟用putty keepalive
putty -> Connection -> Seconds between keepalives ( 0 to turn off ),默認為0,改為60。