Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HBar Strategist

macrumors newbie
Original poster
First, use this link to another one of my guides to fix a problem inherent with applescript and ssh. The guide on restoring ssh-askpass was derived from Kjell's on Cakealot which deals with Mac OS 10.5. I added some steps to make it clearer and compatible with OS 10.6. Anyway, after you have followed the steps in these guides to restore ssh-askpass, open applescript and type in "do shell script 'ssh -t -t computer@server' password 'insert password here' with administrator privileges"
"do shell script 'shutdown -h now' password 'insert password here' with administrator privileges"
This script can now be saved as an application and distributed over your wireless network for remote shutdown.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.