Skip to content
Tool to SSH into EC2 instances by name.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor/github.com
.gitignore
.travis.yml
Gopkg.lock
Gopkg.toml
LICENSE
README.md
azssh.go
build-release.sh

README.md

Build Status License: MIT

azssh

Tool to SSH into EC2 instances by name and perform basic operations such as starting, stopping, and rebooting.

This tool gets instance public DNS addresses and "Name" tag values and allows you to list, start, stop, restart, or SSH into instances.

Usage

To use this tool, you must have AWS credentials configured. This AWS guide will help you get set up.

Simply download the binary from the GitHub release page or clone and go build the source to get started.

Listing Instances

To list instances, run the following:

azssh ls

Starting an Instance

To start an instance, run the following:

azssh start instance_name

Stopping an Instance

To stop an instance, run the following:

azssh stop instance_name

Restarting an Instance

To restart an instance, run the following:

azssh restart instance_name

Getting Public DNS of an Instance

To print the public DNS address of an instance, run the following:

azssh dns instance_name

SSHing into an Instance

To SSH into an instance, run the following:

azssh ssh instance_name

License

See the LICENSE file.

You can’t perform that action at this time.