First choose whether you want a Jupyter Notebook, or a Jupyter Lab:

1a. Jupyter Notebook:

# Setup:
conda install jupyter
# Run:
jupyter notebook --no-browser --port=8090

1b. Jupyter Lab:

# Setup on REMOTE:
conda install jupyter
conda install -c conda-forge jupyterlab
jupyter server --generate-config
jupyter server password
# Run on REMOTE:
jupyter lab --no-browser --port=8090 

2. Then start an ssh tunnel on your local machine:

# Run on LOCAL:
ssh -N -L 8090:localhost:8090 <user>@<remote>

3. Point your LOCAL browser (Chrome is good) to http://localhost:8090/

To see what jupyter processes you have running on REMOTE:

jupyter lab list
# or
jupyter notebook list




Basic Examples : Advanced Examples : Plotting : Troubleshooting : Notebooks

 

XARRAY LINKS: User Guide : How Do I...?