Skip to main content

aws-ssm-juggle

Installation

pip

pip install aws-ssm-juggle

Standalone binary (Linux, ec2-juggle only)

Standalone binaries (built with nuitka, no python required) for x86_64 and aarch64 are attached to each release.

Install the latest release to ~/bin:

mkdir -p ~/bin
curl -fsSL -o ~/bin/ec2-juggle "https://github.com/morph027/aws-ssm-juggle/releases/latest/download/ec2-juggle_$(uname -m)"
chmod +x ~/bin/ec2-juggle

Build locally:

scripts/build-binary.sh

Pre-requisites

session-manager-plugin

Linux

Repo

With updates (recommended): See aws-session-manager-plugin

Manual

curl https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb -o "/tmp/session-manager-plugin.deb"
mkdir -p ~/bin
dpkg-deb --fsys-tarfile /tmp/session-manager-plugin.deb | tar --strip-components=4 -C ~/bin/ -xvf - usr/local/sessionmanagerplugin/bin/session-manager-plugin

MacOS

brew install --cask session-manager-plugin

Infrastructure

Use ecs-exec-checker to check for the pre-requisites to use ECS exec.

ecs-juggle

Inspired by ecsgo.

Provides a tool to interact with AWS ECS tasks.

Currently provides:

  • interactive execute-command (e.g. shell)
  • port-forwarding

You can supply command-line arguments to specify which cluster/service/task/... to use or will be prompted with a nice menu.

Usage

See ecs-juggle --help for all features.

Execute command

Select all from menu:

ecs-juggle command

Port forwarding

Select all from menu:

ecs-juggle forward

Specify port and select the rest from menu:

ecs-juggle forward --remote-port 8080

ec2-juggle

Inspired by gossm.

Provides a tool to interact with AWS EC2 instances.

Currently provides:

  • interactive shell (e.g. shell)
  • ssh shell
  • port-forwarding

Usage

See ec2-juggle --help for all features.

Start session

ec2-juggle start
ec2-juggle start --document AWS-StartInteractiveCommand --command '{"command": ["sudo -i"]}'

Start ssh session

Default:

ec2-juggle ssh

With extra arguments:

ec2-juggle ssh --ssh-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l ubuntu"

Copy files with scp

Default:

ec2-juggle scp --source '{instance}:/tmp/foo' --target './bar'

Copy directories recursively:

ec2-juggle scp --recursive --source './my-folder' --target '{instance}:/tmp/'

With extra arguments:

ec2-juggle scp --scp-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l ubuntu" --source '{instance}:/tmp/foo' --target './bar'

Port forwarding

ecs-juggle forward --remote-port 80

Metadata

Release files for aws-ssm-juggle 26.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-ssm-juggle 26.10.0
File Size Uploaded Provenance Actions
aws_ssm_juggle-26.10.0.tar.gz 10.0 kB With provenance Details for aws_ssm_juggle-26.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aws-ssm-juggle 26.10.0
File Interpreter ABI Platform Actions
aws_ssm_juggle-26.10.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for aws_ssm_juggle-26.10.0-py2.py3-none-any.whl

Total release size: 21.3 kB

Release files / aws_ssm_juggle-26.10.0.tar.gz

Download URL aws_ssm_juggle-26.10.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f93b3a1148d2876ed72ad0068e6a5fd7b0fe983e0ccc698fca31c40f8fce11e2
BLAKE2b-256 checksum
How to use checksums
efb375827d9f521729af4dcde07bb5e10b0c214f72b0d70de3b102cead61211f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / aws_ssm_juggle-26.10.0-py2.py3-none-any.whl

Download URL aws_ssm_juggle-26.10.0-py2.py3-none-any.whl
Size 11.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
074b5f77b56f0e29859f67cff265f99b10097c9f160a3d9f12d8894b7640a145
BLAKE2b-256 checksum
How to use checksums
ccfd2b15839476f084099b043906f0370465ac8bdf3d423a6845183d41c63d5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for aws-ssm-juggle 26.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aws_ssm_juggle-26.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page