CloudHealth/knife-ec2 — pull request #1 by aabes (2013-05-19 11:27:01+00:00)
Title: add the subcommand:

ec2 sshconfig

it produces aliases for all instances suitable for usage in a ssh config file to alias public dns name to instance name.

Use it like this:
bin/knife ec2 sshconfig > ~/.ssh/config