On 2005-11-18 00:39:41 +0100, Glennie Vignarajah wrote: > Le Tuesday 15 November 2005 13:50, A. Lanza("A. Lanza" > <[EMAIL PROTECTED]>) disait: > > After some time (about half an hour), ssh sessions timeout. I'd > > like to avoid this, but it keeps happening... > > I have KeepAlive set to Yes in sshd_config. > > How can i make it? > > Try changing the value of 'ServerAliveInterval' in 'ssh_config' file > (or "ssh -o 'ServerAliveInterval 60' [EMAIL PROTECTED]") !
Or in the .ssh/config file. Here I have: KeepAlive no ServerAliveInterval 300 ServerAliveCountMax 9999 (IIRC, I had set KeepAlive to 'no' to avoid a deconnection when the network is temporarily down, e.g. during an ADSL reconnection, but it no longer seems to exist.) -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]