16 ms·
You can also use ssh -W [1] instead of relying on nc, i.e: Host madeup Host internal_name ProxyCommand ssh external.example.net -W %h:22 [1]
by mrud 14y ago
You can also use ssh -W [1] instead of relying on nc, i.e:
Host madeup
Host internal_name
ProxyCommand ssh external.example.net -W %h:22
[1] - http://manpages.debian.net/cgi-bin/man.cgi?query=ssh&apropos=0&sektion=0&manpath=Debian+6.0+squeeze&format=html&locale=en http://manpages.debian.net/cgi-bin/man.cgi?query=ssh&apr...
- stock_toaster 14y agoNote there appears to be a bug where the use of ControlPersist breaks the use of '-W'. You end up with 'bad packet'. openssh-6.0 release notes has this: * sshd(8): unbreak stdio forwarding when ControlPersist is in use; bz#1943 I haven't tested to see if that resolves the issue yet though (on osx which of course does not have 6.0). However, the netcat version works fine.