Jupyter Notebook

Starting a Jupyter Session

Log into the server:

ssh username@server.example.edu

Activate your environment:

source ~/venvs/myenv/bin/activate

Start Jupyter:

jupyter lab --no-browser --port=8888

You should see output similar to:

http://localhost:8888/lab?token=...

SSH Port Forwarding

From your local computer:

ssh -L 8888:localhost:8888 username@server.example.edu

Open the browser:

http://localhost:8888

Stopping Jupyter

Press:

Ctrl+C

and confirm termination.

Useful Commands

List running notebooks:

jupyter server list

Check running processes:

ps aux | grep jupyter