Re:The text adventure game of exiting a Telnet session
by derefr on Friday January 31, 2020 @03:40PM
(#22205449)
That's how you gracefully shut down an SSH session, with the socket close initiated from the remote end (where the shell is running.)
\n~. is for gracefully exiting a stuck/hung SSH session (e.g. one where the remote isn't responding to input) without force-killing the SSH client itself (which might do bad things to the process group it lives in.)
\n~. is for gracefully exiting a stuck/hung SSH session (e.g. one where the remote isn't responding to input) without force-killing the SSH client itself (which might do bad things to the process group it lives in.)