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