Reverse SSH Tunnel
ssh -R [bind_address:]port:host:hostportssh -R
<===> R znamena reverse
ssh -N
<===> Do not execute a remote command. This is useful for just forwarding ports.
lokalni PC / 192.168.0.6 / port 80 na kterem treba bezi apache
vzdaleny PC / 159.223.180.93 / port 8888
ssh -R 8888:localhost:80 Tato e-mailová adresa je chráněna před spamboty. Pro její zobrazení musíte mít povolen Javascript..0.6
ssh -N -R localhost:8888:192.168.0.6:80 Tato e-mailová adresa je chráněna před spamboty. Pro její zobrazení musíte mít povolen Javascript.
<===> muzeme rozdelit na dve casti 1) cast localhost:8888 a druha cast 2) 192.168.0.6:80