Home

Awesome

Command Line AWS (CLAWS) Build Status Code Climate

This tool provides a simple and powerful way to interact with the hosts in your Amazon Web Services account via the command line.

It provides a configurable text based interface of the status of your hosts similar to the AWS web console. An example of its usage appears below:

Instances

It gives you a choice of which host to connect to and invokes the proper ssh command:

Connecting

Installation

It is up on rubygems.org so add it to your bundle in the Gemfile

gem 'claws'

or do it the old fashioned way:

gem install claws

After you have the gem installed you will need to initialize it to install a configuation file:

claws --init

Read more about the configuration file in this wiki post

Usage

Once the initial configuration is completed you can simply run claws from the command line:

claws

The full list of options includes:

Usage: claws [options]
    -d, --display-only               Display host status only and exit
    -c, --choice N                   Enter the number of the host to automatically connect to
    -i, --init                       Install the default configuration file for the application
    -s, --source S                   define the AWS source - default is ec2
    -v, --version                    Display the version number and exit

To Do

License

Copyright (c) 2011-2014 Wes Bailey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.