January 14, 2009

Using SSH with your Mac to unlock your home.

Filed under: TMUP-Blog — George Starcher @ 4:19 pm

It took a while for me to quit laughing today.  My wife says this resembles me.  In the spirit of our SSH series check out the below xkcd.com comic.

 

SSH to open your home.

Now all you have to do is SSH into your mac at home. At the terminal command line enter the following.

sudo osascript -e “set Volume 10″

say “Hey! I’m locked out downstairs.”

If you get an error you might try this instead.

sudo say “Hey! I’m locked out downstairs”

If nothing else works maybe just try open sesame. *chuckle*

*Update*

I actually tested this with Victor’s mac pro.  Since I had gotten an error I thought it didn’t work.  Until I saw Victor’s tweet about freaking out when his macpro spoke to him.  See below.  As emergency backup and to exchange files I have my own ssh keys to Victor’s macpro.  Egg on my face for not thinking it worked and went on to test with my laptop then write the post THEN notice he was wigging out.  *but it was darn funny*  I just hope he doesn’t hold onto the Apple baseball cap he got me for being bad.

Picture 1
Uploaded with plasq‘s Skitch!
Like what you read or heard? Share and Enjoy:
  • digg
  • YahooMyWeb
  • Furl
  • del.icio.us
  • NewsVine
  • RawSugar
  • Reddit
  • Spurl

View Comments Using SSH with your Mac to unlock your home. »

  1. I'll get you Starcher, when you least expect it, I will Get you Starcher :)

    Comment by typicalmacuser — January 14, 2009 @ 5:48 pm

  2. Uhoh. Forgot I was messing with a Cuban. =)

    Comment by georgestarcher — January 14, 2009 @ 5:55 pm

  3. That's the hacker ethic, test it on your friend's mac first.

    Comment by madmarv — January 14, 2009 @ 6:43 pm

  4. I actually just tested the command locally in terminal. I wanted to see it give the same command line response on a remote mac. =) Surprisingly I got an error on his macpro. SO I went and got my laptop out and then sshd to my own imac.

    Comment by georgestarcher — January 14, 2009 @ 6:46 pm

  5. So wait a minute, there was no way you could have known whether it really worked when you sent the command to Vic's mac right?

    Comment by madmarv — January 14, 2009 @ 6:56 pm

  6. No. I wanted to be sure I wouldnt get some odd error because I was calling the say command from a remote connection before doing the blog post. If I had not gotten the error I would have im'd victor and told him it was me. =) I did in fact get an odd error from his mac pro. But did not see it when I replicated using my laptop to my imac. It was then I saw his tweet while I was writing the blog post.

    Comment by georgestarcher — January 14, 2009 @ 7:09 pm

  7. Oh man. Imagine your kids using a mac mini as a media center and they are ignoring you when you tell them to take out the trash. You could loop a nag say command in the middle of the movie.

    Comment by georgestarcher — January 14, 2009 @ 7:38 pm

  8. George has special access to my Mac due to him being on the show and as a part of a contingency plan. It's not access I would allow to anyone else.

    Comment by typicalmacuser — January 14, 2009 @ 10:42 pm

  9. It only works for me if I use apostrophes instead of parentheses around the 'set Volume 10'

    Comment by William Thieme — January 19, 2009 @ 12:53 pm

  10. Oh, that sounds mean but oh so darn funny. I wish I could have been a fly on the wall when you issued the command on Victor's remote machine.

    Comment by trucklover — January 21, 2009 @ 9:21 pm

  11. Oh it was funny for sure. The funny part is that George did not know i was here. He was just messing around. However I was and I was really freaking out. All in good fun but fun for sure.

    Comment by typicalmacuser — January 21, 2009 @ 11:53 pm

  12. Ecommerce Web Design You could loop a nag say command in the middle of the movie.I wanted to be sure I wouldnt get some odd error because I was calling the say command from a remote connection before doing the blog post.

    Comment by williyamb — April 16, 2009 @ 2:43 am

  13. Ecommerce Web Design Egg on my face for not thinking it worked and went on to test with my laptop then write the post THEN notice he was wigging out.

    Comment by williyamb — April 16, 2009 @ 2:44 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

(required)

(required but not published)

blog comments powered by Disqus
 

January 2009
S M T W T F S
« Dec   Feb »
 123
45678910
11121314151617
18192021222324
25262728293031