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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ec2-instance-id | EC2 Instance ID to connect to. | yes | — |
| remote-user | Remote user for SSH (e.g., ubuntu, ec2-user). | yes | — |
| ssh-port | SSH port on the remote EC2 instance. | no | 22 |
| aws-region | AWS Region of the EC2 instance and SSM. Defaults to the same region your AWS Authentication tokens are in | no | — |
Outputs
| name | description |
|---|---|
| private-key-path | The path to the private key for the SSH connection. |