bondz/Create an SSH Session to an EC2 instance via SSM

Establishes an SSH connection to EC2 via SSM using EC2 Instance Connect ephemeral SSH keys

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ec2-instance-idEC2 Instance ID to connect to.yes
remote-userRemote user for SSH (e.g., ubuntu, ec2-user).yes
ssh-portSSH port on the remote EC2 instance.no22
aws-regionAWS Region of the EC2 instance and SSM. Defaults to the same region your AWS Authentication tokens are inno
namedescription
private-key-pathThe path to the private key for the SSH connection.