aws / aws-ec2-instance-connect-cli

This is an all-in-one client for EC2 Instance Connect that handles key brokerage and establishing connection to EC2 Instances through an interface near-identical to standard system ssh, sftp, and other utilities.
Apache License 2.0
159 stars 42 forks source link

Cannot force usage of private IP #29

Closed campbellrw-iwave closed 1 year ago

campbellrw-iwave commented 1 year ago

We connect to all our EC2's via private IP over a site-to-site tunnel in AWS. If any of those have been assigned a public IP as well, the private IP will be ignored (and thus we can't connect). It would be great if we could pass an argument to specify that the private IP should be used as the host, even if a public IP was auto-assigned to the instance.

campbellrw-iwave commented 1 year ago

Sorry, was a duplicate of #16