Run Jupyter remotely
This page provides support on how to interact with a jupyter notebook that's running remotely on the workstation. This is particularly useful, for instance, when training a deep learning model from a jupyter notebook.
Before proceeding, you need to make sure to have a conda environment, and activate it.
Install jupyter in your environment:
conda install jupyterCreate a jupyter configuration file:
jupyter notebook --generate-configSet up authentication for jupyter:
jupyter notebook passwordStart the notebook (use a custom <PORT_NUMBER>):
jupyter notebook --no-browser --port=<PORT_NUMBER>From your local machine, set up port forwarding:
ssh -N -f -L localhost:<LOCAL_PORT>:localhost:<PORT_NUMBER> ml_workstationThat's it. To access jupyter, just point your browser to http://localhost:<LOCAL_PORT>
Last updated
Was this helpful?