duncan <duncan at sodatrain.com> wrote:
> 
> Ive noticed that from various locations, i seem to get shorter or longer
> times before my ssh session disconnects between my dektop and my server
> that is co-lo'd.  KeepAlive is set to yes in sshd_config.
> 
> Any thoughts?

I recall having problems with my family's IP Masq box.  I ended up doing
this on the firewall:

  # Set Masquerade timeout to 14400 seconds (4 hours)
  /sbin/ipchains -M -S 14400 0 0

(not sure what the equivalent would be for IP Tables)

And I think I had also tried changing the kernel's keepalive time to
something like 10-15 minutes on my client system by setting
/proc/sys/net/ipv4/tcp_keepalive_time to something small.  The default is
7200 seconds (2 hours), but I think the default for a Linux NAT box is
somewhere on the order of 900 seconds (15 minutes).

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   What the fuck is a 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   hefalump? 
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)                             
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010813/34fa7dd0/attachment.pgp