[Ubuntu-zh] 请教ubuntu 7.10的ssh一段时间不用就掉线

Shuai Yu ys0418在gmail.com
星期六 三月 29 15:03:31 GMT 2008


LoginGraceTime 120是给远程登录很慢的网络使用的。

你可以用:ClientAliveInterval来设置服务器在多长时间后没能收到客户端的数
据包而断开客户端的连接。

你还可以在ssh_config里设置相应的选项来是客户端具有这样的功能。 
参见: man ssh_config和man sshd_config

On Sat, 2008-03-29 at 22:34 +0800, Brightman wrote:
> ubuntu 7.10的ssh服务,一段时间不用就掉线。是修改sshd那个配置?
> 我将如下注释掉,还是会掉线
> # LoginGraceTime 120
> 请教了
> 
-- 
0101 1001 0111 0101 0010 1100 0010 0000 0101 0011 0110 1000 0111 0101
0110 0001 0110 1001 0000 1101
0101 0100 0110 0101 0110 1100 0011 1010 0010 0000 0010 1000 0011 1001
0011 0000 0011 0010 0010 1001 0011 0100 0011 1000 0011 1001 0011 0000
0011 0100 0011 0001 0011 1000 0000 1101 
0100 1001 0010 0000 0100 1100 0110 1111 0111 0110 0110 0101 0010 0000
0100 1101 0111 1001 0010 0000 0101 0111 0110 1001 0110 0110 0110 0101
0010 0001




More information about the ubuntu-zh mailing list