awssh
awssh allows you to easily SSH into your running EC2 instances by name with out having to remember the private IP or which key you need to use.
Installation
Via Go
$ go get github.com/jhalickman/awssh
Binaries
Configuration
awss uses viper for config so you can specify your config as a JSON, TOML or YAML file. The file must be named config.[json|toml|yaml] and placed in either $HOME/.awssh or the location of the binary.
Config values
| Config Name |
required (default) |
description |
| access_token |
Y |
AWS account access token |
| access_secret |
Y |
AWS account secret |
| key_folder |
N ($HOME/.awssh/keys) |
Directory where your AWS SSH keys are stored |
| login_name |
N (ubuntu) |
login name used when connecting via SSH |
Usage
select instance running instances from a list by name
$ awssh
0)web-01
1)web-02
3)app-01
4)db-01
Which server do you want to login to? [Enter 0-4 or instance name]
####specify instance name in command
$ awssh web-02