Skip to content

elken/awssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awssh

assets/demo.gif

A poorly named script to easily port-forward or SSH to an Amazon ECS container. Intended for accessing remote nREPL instances, in theory it could be used for anything.

Dependencies

Install

The script is a self-contained babashka script, so place anywhere in your path after bb and gum and it should be fine.

Usage

awssh -- Easily port forward to an ECS container.

  -h, --help    Show this help
  -f, --forward Specify ports to forward to. Leave unset to ssh directly.

Use local:remote or 1 port for local & remote

As per the help doc, there are 3 modes of use here:

Regular SSH

In order to just connect to an ECS container, run without any arguments and select the container from the list.

Port forward on the same port

For this, pass the -f flag with a single port and that port will be used to forward both remotely and locally

Port forward on different ports

For this, pass the -f flag with a portspec like 2222:8080 which will create a forward from the local port 2222 to the remote port 8080

About

Easily connect to an ECS container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published