Desactivate "suspend" when a SSH connection is up

ptiJo

Registered
Hi,

I set my power saving settings so that my Mac Mini suspends after 15mins idling. The trouble is that when a SSH connection is up (from a remote workstation to the Mac OS X workstation), my Mac suspends and my SSH connection suspends too.

Is there a way to not suspend the mac when any SSH connection is up and running ?

Thanks for help.
 
You could write a script that modified the energy savings preferences file, but unless you're a real energy-saving nut (no offense intended, we need more of them :) I would just turn off suspending alltogether.
 
that's what I was afraid of...
let's put it in another way...

can I switch power savings settings from the command line ?
dunno if that means something on Mac OS X, but I'm used to doing "sysctl" things on my NetBSD computers.
 
As far as I know, there's no "simple" way to do that (like sysctl equivalent).

You /used/
to be able to edit the system's .plist files directly ebcause they were plaintext XML, but I think that's changed.
 
Back
Top