Instead of sending SIGINT to the shell and terminating the current process (and providing a new prompt), ^C unconditionally terminates the SSM session, even if su - <user> has been used, or if a process is in the foreground tail -f /path/to/file), or from within a nested shell. This behavior is unique to SSM sessions, so I imagine the agent is listening for SIGINT and terminating.... which is fairly cumbersome.
Instead of sending
SIGINT
to the shell and terminating the current process (and providing a new prompt),^C
unconditionally terminates the SSM session, even ifsu - <user>
has been used, or if a process is in the foregroundtail -f /path/to/file
), or from within a nested shell. This behavior is unique to SSM sessions, so I imagine the agent is listening forSIGINT
and terminating.... which is fairly cumbersome.