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.
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.