radweb / ec2ssh
0.1.1
2016-01-19 19:39 UTC
Requires
- aws/aws-sdk-php: ^3.13
- symfony/console: ^3.0
This package is not auto-updated.
Last update: 2024-11-09 19:11:08 UTC
README
Note the data displayed is probably specific to our systems, may work weirdly for others.
Installation
composer global require radweb/ec2ssh
Configuration
Create yourself a pair of Access Keys: AWS Console > IAM > Users > you > Create Access Key
Now run:
ec2ssh config
Enter your keys when requested. For "Default Region" enter eu-west-1
(or use the up/down arrow keys to select it).
Usage
Just run:
ec2ssh
You'll be shown all your EC2 instances and prompted to pick one. Either enter the number or use the arrow keys to select a number.
An SSH session will then be started.