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
If you bumped into this error like I did:
and got here, then using the information from Benjamin Hao's comment, here are the steps I took to make it finally work:
Install expect, in my case I had to install it on the Github hosted runner which is installed with Ubuntu:
Then, add "unbuffer" before the command you're trying to execute, for example: