SSH through SSH tunnel

SSH 可以通过 SSH tunnel。~/.ssh/config 配置一个 ProxyCommand 就可以了。完全透明!还可以通过 SOCKS5 。

ProxyCommand            ssh -q -A 1.2.3.4 'nc %h %p'

来源