My scenario is using the aws cli and session manager to login to a remote host.
I use: >aws ssm start-session --target i-
Everything works fine until i hit control-c - then the yori prompt comes back interleaved with my remote session even though my aws session is still active:
ssm-user@ip-10-0-3-189:/var/snap/amazon-ssm-agent/1565$
C:\Users\matt\OneDrive\Documents\dev>
ssm-user@ip-10-0-3-189:/var/snap/amazon-ssm-agent/1565$
C:\Users\matt\OneDrive\Documents\dev>
Situation is unusable until i go into a second session and kill my first one with aws ssm terminate-session. Then i can re-connect fine. Its like yori took control of my control-c and thought i wanted to terminate the aws ssm process but it doesnt realise it is an interactive session?
Using ssh is fine - control-c works as expected.
aws ssm start-session works as expected in a cmd.exe session.
thanks!