the fast, reliable localhost tunneling solution

What is the command "ssh:" or "raw:" for?

2012-10-14, 15:02

I was wondering what the and is for? The ssh and/or raw is for. Do I even need it to run ssh? Can I just run," 22" for ssh?


  1. Bjarni RĂșnar Einarsson said on 2012-10-15, 14:32
    The "ssh" and "raw" protocols are essentially the same, one "ssh" is just syntactic sugar to make it more clear in the configuration or any documentation, what you are trying to accomplish.

    However, on the command line, if you don't specify, the default protocol is assumed to be HTTP, which is handled quite differently from the raw protocols. So the command above won't work unless you are running a web server on port 22. Technically possible, but not common practice and almost certainly not what you want. :-)

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!