Prevent sleep during ssh session

Siggy Brentrup ubuntu at psycho.i21k.de
Sun Aug 23 21:53:07 UTC 2009


On Sun, Aug 23, 2009 at 14:38 -0700, Bill Moseley wrote:

> I'm connecting to a remote Jaunty machine via ssh.  Problem is the
> machine goes to sleep after a while.  Is there a way to prevent or
> disable this from the command line while I've got an ssh session
> open?

If you are the owner of that box, you can easily configure it not to
go asleep  System -> Preferences -> Power Management.
If you are not the owner you have to live with his likings but you
may ask to disable sleeping.

> The machine is running Gnome.

HTH
  Siggy
-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org+
|54 days until|Open Source in Northern Germany: www.free-it.org|
|www.Ubucon.de|                   tech contact:  bsb at free-it.de|
+-------> ceterum censeo javascriptum esse restrictam <--------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090823/dbd3d52d/attachment.sig>


More information about the ubuntu-users mailing list