aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.04k stars 322 forks source link

Feature Request: Support for closing the connection on the client side #396

Closed RyanJarv closed 2 years ago

RyanJarv commented 2 years ago

Problem

When a session freezes there is no way to exit the session.

How SSH addresses the issue

SSH has support for escape characters, one of which closes the session from the client side which is implemented by typing <Enter>~.. This is different from a EOF on stdin in that it doesn't require the remote to be responsive to exit the session.

Info on this can be found by searching for "Escape Characters" at https://linux.die.net/man/1/ssh.

RyanJarv commented 2 years ago

Wrong repo, meant to open this on https://github.com/aws/session-manager-plugin.