Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 1.47 KB

README.md

File metadata and controls

55 lines (31 loc) · 1.47 KB

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.