Re:SSH tips and tricks
by nneonneo on Wednesday August 17, 2022 @11:11AM
(#32497449)
Also related: if you use ControlMaster, then the master session takes over any port forwardings defined in new shared sessions. So you can “ssh host” once to establish the master, then “ssh host -L… -R…” to make port forwardings in new shared connections; the shared sessions can be closed and the forwardings will stay active so long as the master doesn’t close.
[ Parent
| on HN ]