Happy Birthday to The Girl from Ipanema

Today is Helô Pinheiro’s birthday. She’s The Girl from Ipanema.

2010 Zombie Walk

Long Canadian Weekend

Over the weekend starting June 12th, my lovely wife and I decided to go to Canada. I mapped it using Google Maps for prosperity, and for when this is a distant memory.
Continue reading ‘Long Canadian Weekend’ »

Mass provisioning of VM’s

We have a need to provision a bunch of Linux VM’s relatively quickly. We could do them by hand, but frankly, I’m too lazy to build 150 VM’s by hand. This is a very rough way to do it.

First you need a Customization Specification filled out for each server. It’s entirely scriptable, but I won’t be going into the details of that. This is what the Customization Specification looks like
Continue reading ‘Mass provisioning of VM’s’ »

SSH Tips

SSH is one of those things I use every day, and maybe what I use most throughout the day. These are either things I didn’t know (escape sequences), or haven’t looked into before.

To get to the SSH escape sequences, you need a new line, followed by ~ and ?. That’s a newline (return), followed by a tilde and a question mark. This is what you get

Supported escape sequences:
  ~.  - terminate connection (and any multiplexed sessions)
  ~B  - send a BREAK to the remote system
  ~C  - open a command line
  ~R  - Request rekey (SSH protocol 2 only)
  ~^Z - suspend ssh
  ~#  - list forwarded connections
  ~&  - background ssh (when waiting for connections to terminate)
  ~?  - this message
  ~~  - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)

There are a lot of interesting things you can do with this. My favorite being if you ssh to host1.cainmanor.com then ssh to host2.cainmanor.com and then ssh to host3.cainmanor.com and host3.cainmanor.com locks up, you can newline ~~~. and the third session will be closed.

But wait!! There’s more
Continue reading ‘SSH Tips’ »