Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Coder's Corner Lounge (http://www.programmingforums.org/forum11.html)
-   -   MAC remote shutdown tool (http://www.programmingforums.org/showthread.php?t=11841)

Baphomet Nov 9th, 2006 12:55 PM

MAC remote shutdown tool
 
Does anyone know where I can find a remote shutdown tool that runs on macintosh? Preferably OS X.

Dameon Nov 9th, 2006 6:28 PM

Mac OS X is BSD-based. It includes OpenSSH. Set up the ssh daemon on the machines that you need to remotely administrate. When you need to shut one down, just open a terminal and run the shutdown command remotely. I do not know how the mac desktop environment responds to a pending shutdown (such as warning the user), so some experimentation may be necessary before widespread implementation.

crawforddavid2006 Nov 9th, 2006 11:49 PM

Quote:

Originally Posted by Baphomet (Post 118683)
Does anyone know where I can find a remote shutdown tool that runs on macintosh? Preferably OS X.


MAC?! HAHAHA I really hope your kidding.;)

Baphomet Nov 13th, 2006 1:12 PM

Do you need a client end program?

Dameon Nov 13th, 2006 7:18 PM

If I remember correctly and OS X comes with OpenSSH installed, then you already have the client and server. OpenSSH is supported on most platforms. If you want to use SSH from Windows, it's easiest to use the freely available PuTTY.

mrynit Nov 13th, 2006 7:20 PM

there might be some unix commands for shutdown that can be used.

andro Nov 13th, 2006 7:53 PM

Quote:

Originally Posted by mrynit (Post 118857)
there might be some unix commands for shutdown that can be used.


Mmm.. yes. Like 'shutdown'.

titaniumdecoy Nov 13th, 2006 8:16 PM

Technically, MAC is an abbreviation for "Media Access Control address." Macintosh can be abbreviated Mac or mac.

As for shutting down your mac remotely, go to System Preferences > Sharing and check the Remote Login box. Then SSH into your machine remotely and run the command "shutdown -h now".

Baphomet Nov 20th, 2006 10:01 AM

The above works great, except the Macs upstairs won't respond. Its says after I type the Super-User Password that it was wrong. :( Not sure what to do.

Baphomet Nov 28th, 2006 9:14 PM

Never mind. No root was configured apparently. The guy who made the image didn't do his job...


All times are GMT -5. The time now is 1:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC