This gem is a knife plugin to set up your .ssh/config file with host names of all the Chef nodes
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install lisausa-knife-sshconfig
knife setup ssh
Copy and paste the output into your
This will give you the option to run
ssh web1.lisausa.net instead of having to look up the IP on the server.
It also has the handy side-effect of enabling tab-completion of those host names.
It's recommended that you also add the following to your
.ssh/config, before the output of this gem:
Host *.lisausa.net IdentityFile ~/Projects/Dolan/.ssh/id_rsa # your pubkey used on the LISA boxes User rlong # your username