5 ms·
Instead of ProxyCommand ssh -T host1 'nc %h %p' you can use ProxyCommand ssh -W %h:%p host1 which uses ssh itself and therefor also works on machine
by VeXocide 14y ago
Instead of
ProxyCommand ssh -T host1 'nc %h %p'
you can use
ProxyCommand ssh -W %h:%p host1
which uses ssh itself and therefor also works on machines where netcat isn't installed.
- carlesfe 14y agoHi, I tried that but my ssh version doesn't have the -W flag. What would you suggest?
- argarg 14y agoUnfortunately OSX uses a badly outdated openssh version just like many other unix tools and it doesn't support the -W option. You could try upgrading openssh using homebrew if you want.