Digital Marketing

Chaining multiple SSH proxies

For A->B->C->D->Internet
[hostA]$ ssh -2 -C -D 55557 -L 55556: -L 55555: user@B
[hostB]$ ssh -2 -C -D 55556 -L 55555: user@C
[hostC]$ ssh -2 -C -D 55555 user@D
Note that for each hop, you need an additional matching forwarder -L on the previous hosts in the chain.


Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership