Austin Murphy on 30 Sep 2013 07:04:25 -0700

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

Re: [PLUG] SSH Tunnel

On Sun, Sep 29, 2013 at 3:02 PM, Mike Joseph <> wrote:
One option that's slightly smoother is actually to use a ProxyCommand and chained ssh processes:

There is an even simpler ProxyCommand that does not require nc to be installed.  From the ssh man page:

        -W host:port
             Requests that standard input and output on the client be forwarded to host on port over the secure channel.
             Implies -N, -T, ExitOnForwardFailure and ClearAllForwardings.  Works with Protocol version 2 only.

Host oldsys
  User eric
  ProxyCommand  ssh -W

I use it frequently.  It's easy to forget that you are jumping through hoops.


Philadelphia Linux Users Group         --
Announcements -
General Discussion  --