<br><br><div class="gmail_quote">On Mon, Aug 24, 2009 at 5:43 AM, Chris G <span dir="ltr"><<a href="mailto:cl@isbd.net">cl@isbd.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
</div>Are we sure (OP?) that the OP means that the remote *machine* is going<br>
to sleep. A much more common problem with ssh is that the<br>
*connection* dies after inactivity.</blockquote><div><br>Yes. The remote machine is configured to sleep after some amount of time of inactivity.<br><br>If I'm just connected via ssh the system will sleep even if my ssh session is active. I assume that's because there's no keyboard or mouse activity.<br>
<br>When this happens I can call on the phone to where there the computer is located and indeed it is asleep.<br><br>Yes, I have sudo on that machine. <br><br>I'll try the Python script suggested by Brian. I can't right not because, well, the remote machine is sleeping...<br>
<br>Thanks for all the suggestions,<br><br></div></div><br>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org">moseley@hank.org</a><br>