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

Reject unknown flags or provide meaningful feedback? #18

Closed jfreeland closed 4 years ago

jfreeland commented 4 years ago

I was attempting to use mssh earlier to connect to a machine and thinking I was using the correct command.

jfreeland@foo : ~ > mssh -r us-west-2 -i i-00000
Warning: Identity file ec2-user@w.x.y.z not accessible: No such file or directory.

It took me a couple minutes to realize I didn't need to pass a -i flag, and I was able to connect fine after removing it, but it seems like mssh should have barked about this.

CptTZ commented 4 years ago

Thank you for bringing this up! We are continuously working on improving customer experience and I will definitely note this issue in our backlog.