Skip to content

Instantly share code, notes, and snippets.

View leewc's full-sized avatar

Wen Chuan Lee leewc

View GitHub Profile
@leewc
leewc / sssh
Last active January 3, 2023 13:48 — forked from yuki777/sssh
AWS ECS Login Script / Interactive Shell on Fargate ECS Containers
#!/bin/bash
# Bash script to run ecs-exec on Amazon ECS Fargate containers.
#
# Usage: See --help.
#
# Installation: Download the script and `chmod u+x the script`.
# - For example, in two-lines:
# curl "https://gist.githubusercontent.com/leewc/e4c3a16551b06c2b0b4640fa5a3d9c00/raw/sssh" -o "sssh" && chmod u+x ./sssh
# ./sssh