[lug] Timing Out on large Internet copies

Ed Moxley ed at moxleynet.com
Wed Sep 15 16:58:41 MDT 2004

On Wed, 2004-09-15 at 15:34, Gordon Golding wrote:
> We have remote servers.  We want to back up some data.  
> We are using the SSH window from a PC to copy files off the servers across the Internet.
> Our network and the servers remote networks are fast, but the copy always times out - it's some hours worth.
> Any thoughts on causes?  Are there settings in Secure Shell?  Settings on the Servers?  I'm used to unused connections timing out after an hour, but not active ones.

You might want to try "client alive" settings on the servers.  
In sshd_config:
ClientAliveInterval 30
ClientAliveCountMax 30
will cause the ssh server to query the ssh client every 30 seconds and 
terminate the connection if the client doesn't reply for 30 tries.

More information about the LUG mailing list