2010年9月15日星期三

configure to keep ssh alive


在 .ssh/config 文件中,加入如下:
ConnectTimeout=1200
TCPKeepAlive=yes
ServerAliveInterval=45
就可以了。

没有评论:

发表评论