Shutdown a computer remotely?
November 22, 2002 10:33PM
edited January 2014
How would one shutdown a computer over ssh? If possible. Once shutting it down, is there a way to turn it back on over ssh (or another way)?
Reply 1 of 3
November 22, 2002 11:18PM
[quote]Originally posted by westonm:
<strong>How would one shutdown a computer over ssh? If possible. Once shutting it down, is there a way to turn it back on over ssh (or another way)?
(read man shutdown for options)
once it is shutdown how would you connect via ssh?
What is it you are trying to achieve?
If this is something you are trying to do on a regular basis I think you'll want a hardware control.
Perhaps something like this:
Reply 2 of 3
November 25, 2002 5:35PM
If it is a machine that you are connected to you can shut it down using AppleScripts, but you have to have Remote AppleScripts enabled on the machine that you are trying to shutdown (In the Network Prefs I believe), and it's tricky. I did it once, but I shutdown the computer I was working on about 5 times before I did it right. All I remember about it is that it was hard.
Reply 3 of 3
November 27, 2002 12:11PM
you could just put it to sleep, that way I think you can tell it to wake up again when it detects network activity.