5 ms·
I often use ~C (to open the ssh command prompt) and type (e.g.) “-L 80:localhost:8000” to set up forwarding via the same ssh session.
by kylek 9y ago
I often use ~C (to open the ssh command prompt) and type (e.g.) “-L 80:localhost:8000” to set up forwarding via the same ssh session.
- wiredfool 9y agoThis is useful to know, especially if it works with agent forwarding. I default to agent forwarding off, but invariably forget to enable it the few times I need it.
- mpfz0r 9y agoI wrote a small utility that allows you to create these forwardings through multiple hosts. https://github.com/mpfz0r/sshdrill https://github.com/mpfz0r/sshdrill