Skip to content

chicisimo/ec2-rb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ec2-rb

SSH into EC2 using the instance name

It uses the AWS credentials from ~/.aws/credentials.

☝🏻 Don't forget to set the AWS_REGION env variable.

Setup:

$ script/setup

Usage:

$ AWS_REGION=eu-west-1 ec2 ssh instancename
$ AWS_REGION=eu-west-1 ec2 ip instancename

About

SSH into EC2 using the instance name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 95.4%
  • Shell 4.6%