I think this may be two separate problems, but I'm not sure. I'm not well up on network stuff, so any help gratefully received.
I have a Redhat FC4 machine at work, and one at home, on a shared broadband modem with NAT forwarding. If I ssh to my home machine from work but don't do anything, the session will hang. If I set 'top' running, then the session stays awake. Ditto as long as I'm doing something. It only takes a few minutes inactivity before it hangs though.
If I'm at my home machine and browse to a chatroom, I can participate for a couple of minutes then it appears to hang. Apparently what I type when it's hanging appears immediately in the chatroom, but it can be several minutes before all the text that should have shown up arrives on my display, all in one burst. Very frustrating in a quiz! This happens even when there is activity.
I've set .ssh/config to contain "ServerAliveInterval 240" on both the source and destination machines for all login codes.
On both machines, in /etc/ssh/ssh_config I've uncommented and set the lines:
ServerAliveCountMax 999
ServerAliveInterval 999
TCPKeepAlive=yes
And, again on both machines, in /etc/ssh/sshd_config I've uncommented and set the lines:
TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 30
KeepAlive yes
ClientAliveInterval 60
I suspect I'm misusing some of the parameters, but I don't know which. I'm stumped
Thanks anyone
Jim Deakin