opscode/knife-ec2 — pull request #53 by pnegri (2012-07-05 20:40:58+00:00)
Title: Adding ssh_gateway support for tunneling in VPCs

Added a nice thing.

When you are in a private VPC, you need to login to a public server of your VPC, that has access to private nodes, to connect via ssh and execute commands like "chef-client".

With this support, now you can tunnel server create, bootstrap and ssh commands directly to private nodes behind your public gateway.

To use it, just ssh-add your identities (.pem) files, and add to your knife.rb:
knife[:ssh_gateway] = 'user@public_host_of_your_vpc_that_can_connect_to_private_ones'

Tell me what you guys think.

Regards
Patrick