Spooky fun with ssh on OS X

Want to freak out your wife/husband/kids?

On a mac that you have access to:

Go to ‘System Preferences’. Under ‘Internet & Networking’ there is a ‘Sharing’ icon. Run that. In the list that appears, check the ‘Remote Login’ option.

Then ssh into your mac remotely by downloading putty if you’re on a pc or launch a terminal on another mac and run “ssh username@ip.address” without quotes to ssh to the mac while someone is working on it.

Once you’re logged in:

Crank up the volume by running:
sudo osascript -e "set volume 10"

Then run:

sudo osascript -e 'say "I am watching you." using "Zarvox"

Or if that doesn’t work, try:

sudo osascript -e 'say "I am watching you." using "Cellos"'

Make sure you have an automatic emergency defibrillator handy.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.