Skip to content

Helper tool written in ruby to list out aws instances and ssh into them

License

Notifications You must be signed in to change notification settings

ricktbaker/ruby_aws_ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS SSH With Ruby

Simple ruby script using the aws-sdk to list out your instances in a region and ssh into them with tab completion.

Setup

Edit the following 4 lines of the aws_ssh.rb file

aws_key = "AWS_KEY"
aws_sec = "AWS_SECRET"
region = 'us-east-1'
ssh_user = 'ec2-user'

Requirements

rubygems
readline
aws-sdk

Usage

macbook $ ./aws_ssh.rb 
One second....Grabbing EC2 Instances
commands (list info ssh help quit):
> list
Dev Server    Dev Server 2
> ssh Dev Server 2

More

This project is no longer being updated as I have since moved on to working on an actual electron app to provide this functionality:

Opshell

About

Helper tool written in ruby to list out aws instances and ssh into them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages