News for hackers. Stuff that matters.
Re:Unix Tricks by AssertFailure on Thursday July 03, 2014 @08:44AM (#7982679)
Instead of using netcat when tunneling SSH through another machine like this:

    ProxyCommand ssh -T host1 'nc %h %p'
one should use this instead:

    ProxyCommand ssh -W %h:%p host1
Re:Unix Tricks by aseidl on Thursday July 03, 2014 @10:01AM (#7983085)
The only problem with -W is that it is not available everywhere yet: RHEL6 defaults to OpenSSH 5.3, while -W was introduced in 5.4. Thankfully EL7 comes with OpenSSH 6.4 (and a kernel newer than 2.6.32!).