AWS CSSHX Wrapper
This is a wrapper script for ClusterSSHX (csshx). It allows the user the ability to ssh to all machines in an AWS security group using a specific key and user for those machines.
gem install aws_csshx
The easist way to configure this gem is to add the following 4 lines to your ~/.csshrc (replace with your values):
aws_region = us-east-1 aws_access_key = AAAAAAAAAAAAAAAAAAAA aws_secret_key = TaaaaaLNiYbbbbbJm6uuqphcccccXtZydddddDfd ec2_private_key = /Users/elubow/.ssh/amazon.pem
The most common use/case of aws_csshx is to just ssh into a security group. For instance, to SSH into the entire utility security group as root, do the following:
aws_csshx -g 'utility' -l root