Re: Manipulating Forwards on an existing shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quintin Beukes wrote:
Is there any way at all to manipulate local forwards on an existing
shell?

Use the ~C escape, which is documented in ssh(1) thusly:

 ~C   Open command line.  Currently this allows the addition of port
      forwardings using the -L, -R and -D options (see above).  It also
      allows the cancellation of existing remote port-forwardings using
      -KR[bind_address:]port.  !command allows the user to execute a
      local command if the PermitLocalCommand option is enabled in
      ssh_config(5).  Basic help is available, using the -h option.

Depending on what you're doing, you may be better served by -D/DynamicForward which allows you to use SOCKSified clients rather than created new (local) forwards for each purpose.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux