3 ms·
Since this tip is popular I'll share another related tip. When using nested ssh session, you can send escape commands to any of them by the number of tildes. F
by fooblat 6y ago
Since this tip is popular I'll share another related tip.
When using nested ssh session, you can send escape commands to any of them by the number of tildes. For example, if you ssh into Server A and then from Server A to Server B:
~~. # drop session from Server A to Server B
~. # drop original session into Server A
- stjohnswarts 6y agoI sometimes have to hit a <return> before the ~. disconnect works. Not sure why.
- BenjiWiebe 6y agoBecause iirc, ssh only interprets the tilde if it's immediately preceded by a newline.