Very clear explanation! Thanks. RemoteForward is often not explained with a plausible example.
Hint for an addition: I find it easier to specify tunneling in ~/.ssh/config file (LocalForward and RemoteForward directives).
Hint for an addition: I find it easier to specify tunneling in ~/.ssh/config file (LocalForward and RemoteForward directives).
The LocalForward and RemoteForward takes two arguments instead of one, so I had to use:
LocalForward localhost:8000 localhost:80
There were a lot of examples online of the syntax being just like the command line, so mine's either very outdated or it was recently changed.