FS#78870 - [aws-cli-v2] EIC does not work.
Attached to Project:
Arch Linux
Opened by Guillaume Friloux (kuri) - Friday, 23 June 2023, 14:09 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Monday, 26 June 2023, 07:06 GMT
Opened by Guillaume Friloux (kuri) - Friday, 23 June 2023, 14:09 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Monday, 26 June 2023, 07:06 GMT
|
Details
Description:
I am not able to use EIC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html) using this package. Removing the package to install aws-cli from "official way" (https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) gives me a working EIC. I have been trying to run aws with --debug to spot any issue (as it does not throw ANY error...), but i can't see anything of value. Everything tends to say it works, but : debug1: Executing proxy command: exec /usr/sbin/aws ec2-instance-connect open-tunnel --instance-id i-06dXXXXX --private-ip-address 192.168.XX.XX --remote-port 22 --profile XXXXX --instance-connect-endpoint-id eice-0aXXXXX --instance-connect-endpoint-dns-name eice-0a6XXXXX.ec2-instance-connect-endpoint.eu-west-3.amazonaws.com debug1: identity file /tmp/tmpf4n6wvez/private-key type 3 debug1: identity file /tmp/tmpf4n6wvez/private-key-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.3 kex_exchange_identification: Connection closed by remote host Connection closed by UNKNOWN port 65535 Additional info: * package version : 2.12.1-1 Steps to reproduce: * Install aws-cli-v2 package * Get an account ready to use EIC * try : aws ec2-instance-connect ssh --instance-id i-YOUR_INSTANCE_ID --profile YOUR_PROFILE_IF_ANY --debug * uninstall package, use amazon's install script, try EIC again, it works |
This task depends upon
Closed by Chih-Hsuan Yen (yan12125)
Monday, 26 June 2023, 07:06 GMT
Reason for closing: Fixed
Additional comments about closing: python-awscrt 0.16.21-1
Monday, 26 June 2023, 07:06 GMT
Reason for closing: Fixed
Additional comments about closing: python-awscrt 0.16.21-1
Using arch's package, i see it's calling `/usr/sbin/aws` internally, while aws's version will call `aws` and trust $PATH.
This may be an issue in my setup as i normally use boxxy.
Theorically, i did things right for my tests, as i did move my ~/.config/aws into ~/.aws, but we never really knows.