Typed characters are normally transmitted directly to the remote machine
(which does the echoing as well). A tilde (‘~’) appearing as the first
character of a line is an escape signal; the following are recognized:
~^D or ~.
Drop the connection and exit. Only the connection is dropped –
the login session is not terminated.
...