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.
"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: