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

Connection fails on Windows: "command-line: line 0: Bad configuration option: 'identitiesonly" #21

Closed craigholm closed 4 years ago

craigholm commented 4 years ago

Beginning with 1.0.1, attempting to connect to an instance on Windows 10 (1909, with the built-in ssh client and default cmd.exe command shell) fails with the following error message:

command-line: line 0: Bad configuration option: 'identitiesonly

I'm guessing it's because the IdentitiesOnly=yes argument is single-quoted. Rolling back to 1.0.0 fixes the problem.

ohitspaul commented 4 years ago

Thank you for reporting the issue @craigholm. This should be addressed with release 1.0.2: https://github.com/aws/aws-ec2-instance-connect-cli/releases/tag/1.0.2

Commit here: https://github.com/aws/aws-ec2-instance-connect-cli/commit/a32bde5e49f3d2aa80007558f254522d6e7e7380

Closing for now, please let us know if the issue persists with the latest release.