News for hackers. Stuff that matters.
Re:SSH Tunnel – Local and Remote Port Forwarding Explained W... by weddpros on Sunday May 18, 2014 @07:40AM (#7762766)
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).

Re:SSH Tunnel – Local and Remote Port Forwarding Explained W... by darthdeus on Sunday May 18, 2014 @08:12AM (#7762825)
Thanks! I've actually written this out of frustration with the existing tutorials and kind of for self reference, since every time I want to do a tunnel I spend 15 minutes googling it :)
Re:SSH Tunnel – Local and Remote Port Forwarding Explained W... by Zikes on Sunday May 18, 2014 @01:06PM (#7763562)
I just set this up and there was one gotcha, the syntax is slightly different at least on my version (OpenSSH_6.6p1 Ubuntu-2ubuntu1).

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.