[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [ssh] KeepAlive



Vincent Lefevre said on Mon, Nov 10, 2003 at 09:00:09PM +0100:
> This worked for several months, but since a few days, my ssh sessions
> get closed again (for the last one, I could see in the logs that it
> was closed during an ADSL reconnection). So, I did some tests with
> "ssh -v" and the following line was periodically output:
> 
> debug1: client_input_channel_req: channel 0 rtype keepalive@openssh.com reply 1
> 
> Why? Doesn't the KeepAlive option work any longer?
 
Have you looking into ClientAliveInterval?  ssh v2 has a built-in keepalive
mechanism that dodges some of the problems with regular TCP keepalive, and you
probably need to disable both of them to get what you want.

M

Attachment: pgpJjANUJY32Y.pgp
Description: PGP signature


Reply to: