SSH port forwarding

Published (last updated )

Redirect 3013, 6379 and 8006 running remotely and bound to the remote hosts’ localhost to localhost ports:

ssh -N -L 3013:127.0.0.1:3013 -L 6379:127.0.0.1:6379 -L 8006:127.0.0.1:8006 -R 3014:127.0.0.1:3014 root@10.10.11.23