Skip to content
/ azssh Public

Tool to SSH into EC2 instances by name.

License

Notifications You must be signed in to change notification settings

mk6502/azssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.