multihop port forwarding
1. jupyter notebook example
- Setup: My laptop can connect to machine A. Only machine A can connect to machine B.
- on Machine A
ssh -N -L 8085:localhost:8085 czw@machine_B.csail.mit.edu
- on laptop
ssh -N -L 8085:localhost:8085 czw@machine_A.csail.mit.edu
- on machineB
jupyter notebook --no-browser --port=8085