I try to using Session Manager within my CI (with a vanilla configuration, so nothing too fancy).
All inputs (keys, etc.) and configurations (user/strategy/key) are valid. I succeed to start a session on my own laptop.
But on my pipeline i got the following message
Starting session with SessionId: xxxx-xxxxxxx
$ **Cannot perform start session: EOF**
Is this shell related ?
For reference, tools used on the CI :
- Session Manager plugin : 1.2.30.0
- AWS CLI : aws-cli/1.18.223 Python/2.7.17 Linux/5.4.0-1039-azure botocore/1.19.63
aws ecs execute-command
from github action. – Mesozoicaws ssm send-command --document-name "AWS-RunShellScript"
and a script executed remotly (on EC2 on our case, not ECS). Regards – Lollisexpect
bysudo apt-get install expect
and run the command usingunbuffer aws ecs execute-command ....
– Mesozoic