Skip to content

port forward

ssh -f user3@gatekeeper2.cs.hku.hk -N -L 7022:i.cs.hku.hk:22

SSH port forward

localhost = 10.101.0.102 port 8082 is port on the localhost 8081 is the port on the the source host

ssh -L 8081:localhost:8082 root@10.101.0.102