Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 533 Bytes

tunneling.md

File metadata and controls

17 lines (11 loc) · 533 Bytes

How to open jupyter notebook in server and use it in local

Step 1:

On the server side, start your jupyter session:

  1. For jupyter lab: jupyter-lab --no-browser --port <server_port>
  2. If juoyter notebook: jupyter-notebook --no-browser --port <server_port>
Step 2:

On your local machine, use the following command:

ssh [-o ServerAliveCountMax=20 -o ServerAliveInterval=15] -N -f -L localhost:<local_port>:localhost:<server_port> user@server

Step 3:

Visit your local browser:

localhost:<local_port>