Connect to a SSM session directly in your favorite terminal.
In your terminal, run:
$ pip install pysshm
In order to fully use pysshm, you MUST install the session-manager-plugin from AWS.
$ pysshm --help
Usage: pysshm [OPTIONS]
Connect to an EC2 instance over SSM, all in your favorite shell.
Options:
-p, --profile TEXT AWS profile
-r, --region TEXT AWS region (default: eu-west-3)
-i, --instance-id TEXT Instance ID for direct connect
-d, --debug Enable debug
--help Show this message and exit.