in reply to Re: A "better" Putty keep-alive
in thread A "better" Putty keep-alive

I'll confirm what diotalevi said; that option doesn't do any good for me, either.

Some nice ideas in this thread!


Mike

Replies are listed 'Best First'.
Re^3: A "better" Putty keep-alive
by Anonymous Monk on Feb 22, 2008 at 19:33 UTC
    On some *nix OS I have found security policies that forcibly disconnect terminal sessions believed to be idle. In which case keep-alives don't offer any help. One way to fool the policy is to leave the terminal with a blank "read" request.

    prompt$ jobs
    <stuff running in background (or not, just camping)>
    prompt$ read
    <terminal (and policy) thinks we are waiting for user input and dare not end our session>

    When you return just hit enter, and you get your prompt back.

    This is also a great way to keep "screen" sessions from being killed based on policy idle timeouts.

    Of course your situation may be very different. Hope this helps, If not don't blame a guy for trying to help.