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.
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.
To list instances, run the following:
azssh ls
To start an instance, run the following:
azssh start instance_name
To stop an instance, run the following:
azssh stop instance_name
To restart an instance, run the following:
azssh restart instance_name
To print the public DNS address of an instance, run the following:
azssh dns instance_name
To SSH into an instance, run the following:
azssh ssh instance_name
See the LICENSE file.