I've been using SSH for ~15 years and never knew about these escape sequences. I'm eagerly awaiting my next hung session so that I can test `~.`. It's much nicer than my current approach of having to close that terminal window.
I've used ~. for a long time but did not know about others. I know, should have read man page.
Anyway, if you try it from shell prompt it is likely will not work as pressing ENTER shows the next prompt. Try `cat` followed by ENTER and then ~?
Yep the menu is handy for ssh tunneling. Maybe not a lot of people doing that these days though with stuff like dev tunnels and Tailscale.
Those aren’t “secret”, they’re obviously borrowed from rsh — oh that’s right, I’m old.
That doesn't do much good if you set `EscapeChar` to `none` in `.ssh/config`.
I find it convenient not to have to worry about accidentally entering escape characters. YMMV.
Hidden or undocumented features like this always have a strange appeal. Part of it is nostalgia for older software where small Easter eggs or experimental features would sometimes ship in production builds.
Secret Menu -> Escape Characters
I really hate it when people just rename terms. It made it harder to search properly for better answers.
FYI, you can kill forwarding tunnels with -KD portnum in that commandline too.
It's like Ctrl + ] on telnet.
The good old times!
Find the HIDDEN SECRETS that THEY DON'T WANT YOU TO KNOW!