[Gllug] ssh timeout

Minty mintywalker at gmail.com
Tue Feb 8 22:59:33 UTC 2005


I ssh into my bytemark box & works like a charm.

After a reasonable period of in-activity (10-30 mins) the connection
drops.  At the client end it thinks it's still connected, so I have to
kill off the "ssh myserver.com" command.

I'm at a lost to know where to start looking.  I'm running iptables on
the server, so I'm wondering if it's something "stateful packet"
related, but that's about where my knowledge ends on that.  Or is it a
ssh server setting?  I don't have the problem when ssh'ing between
boxes within my home network - just when I connect out over the
internet.

Any pointers where to look to either extend the timeout, or force it
to drop the connection properly so the client realises it's gone?

server: debian stable, all patched up, fairly vanilla install + iptables
client: ssh from another debian box, or putty from doz.

I have a couple of home firewalls in the path, but ssh'ing into my
home machines from outside doesn't present this problem, only ssh'ing
out.

Is this some standard tcp/ip/tables/ssh setting I've missed?
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list