Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Avoid dropped connections due to idle timeouts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Avoid dropped connections due to idle timeouts
Authored by: stereosubs on Jan 03, '06 06:29:44AM

This is a hint for those who read the machints story " 10.4: Avoid dropped connections due to idle timeouts " that don't have 10.4 or the new openssh (but do use X11).


I used to use 'top' to achieve this:

This technique has the added benefit of checking the top processes on a system at the same time. If you ssh into a host via X11, you can spawn another terminal that keeps an active connection. my old-reliable was

    xterm -e "top -s 120"

After logging in, running this command will open another window that will periodically show the top processes on that system.

NOTE: MacOSX's ssh disables X11 Forwarding by default:
So,either use "ssh -X hostname" or modify your ~/.ssh/config to contain these extra lines

( although I edit /etc/ssh_config to do this )

    Host *
    ForwardAgent yes
    ForwardX11 yes

PS: Unfortunately, ISPs in my area are more like monopolies. for about 6 months I had to tunnel my smtp traffic throughout my works VPN because port 25 was being filtered.

[ Reply to This | # ]