ec2-ssh
v0.0.3
Published
Console tool based on NodeJS that simplifies connecting to AWS EC2 instances
Downloads
2
Readme
ec2-ssh
Console tool based on NodeJS that simplifies connecting to AWS EC2 instances.
Installation
- Ensure AWS API credentials are configured (e.g. by installing AWS CLI and running
aws configure
) npm -g install ec2-ssh
- During installation, you can choose how to install the auto-suggestion based on node-tabtab
Features
- Tab completion lists your current running AWS instances
- EC2 name-tag is displayed
- User and path to SSH-Key is cached for each instance
- support for AWS roles
- ...
Configuration
You can change the supported AWS regions and add additional accounts via AWS roles
(see docs) that will be retrieved
by the script. At the moment you have to edit the config.json
manually. It is located in the same installation
directory, just run which ec2-ssh
to find the path.
Example config.json
:
{
"regions": [
"eu-central-1",
"eu-west-1
],
"roles": [
"arn:aws:iam::1234567:role/admin"
]
}
Contribute
Feel free to create pull or feature requests for this project.