aws-ssm-juggle
Installation
pip
pip install aws-ssm-juggle
Standalone binaries (Linux)
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
curl -fsSL -o ~/bin/ecs-juggle "https://github.com/morph027/aws-ssm-juggle/releases/latest/download/ecs-juggle_$(uname -m)"
chmod +x ~/bin/ecs-juggle
Build locally (both by default, or pass ec2-juggle / ecs-juggle):
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws_ssm_juggle-26.10.1.tar.gz | 10.0 kB | With provenance | Details for aws_ssm_juggle-26.10.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_ssm_juggle-26.10.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for aws_ssm_juggle-26.10.1-py2.py3-none-any.whl |
Total release size: 21.4 kB
Release files / aws_ssm_juggle-26.10.1.tar.gz
| Download URL | aws_ssm_juggle-26.10.1.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
940f3753b0f02924841e5246d5a54870f728dab2a92140b622f7f5c5a14d759f
|
|
BLAKE2b-256 checksum How to use checksums |
9e269d22e2ba9392f9b9926d383da89c533b4c99823319bd0a1bfc175c19b2cd
|
| 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 logRelease files / aws_ssm_juggle-26.10.1-py2.py3-none-any.whl
| Download URL | aws_ssm_juggle-26.10.1-py2.py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f66f1cab68990a3a46a5ecdd7ec89fe4c285f8e57fb842f750f75207c05c4550
|
|
BLAKE2b-256 checksum How to use checksums |
db95265784eea351d4090721ebc004588c514ef83c90374e42252fa03a40a47c
|
| 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 logSecurity for aws-ssm-juggle 26.10.1
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.
Attestation for aws_ssm_juggle-26.10.1.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 logA 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.