Knife plugin to set up your development workstation's SSH config with the LISA nodes, in lieu of DNS
Pull request Compare This branch is 2 commits ahead, 12 commits behind lisausa:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
lisausa-knife-sshconfig.gemspec

README.md

lisausa-knife-sshconfig

This gem is a knife plugin to set up your .ssh/config file with host names of all the Chef nodes

Installation

Add this line to your application's Gemfile:

gem 'lisausa-knife-sshconfig'

And then execute:

$ bundle

Or install it yourself as:

$ gem install lisausa-knife-sshconfig

Usage

knife setup ssh

Copy and paste the output into your ~/.ssh/config

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