Remote Jupyter Notebook on shell servers

See also

We now have a General use student/teaching JupyterHub installation which may serve your uses more simply.

Here we describe how you can utilise Aalto computing resources for Jupyter Notebook remotely. The guide is targeted for UNIX users at the moment.

Aalto provides two “light computing” servers:, We demonstrate how to launch a Jupyter Notebook on brute and access it on your laptop.

alternate text

< System activity on Brute >


# Create your Kerberos ticket

# Create a session. I use tmux

# Load Anaconda
module use /work/modules/modulefiles/common/; module refresh; module load anaconda3

# Create your env
conda create -n env-name python=3.6 jupyter

# Activate your python environment
source activate env-name

# Launch jupyter notebook in headless mode and a random port number
jupyter notebook --no-browser --port=12520

Now back to your laptop

# Forward the port
ssh -L 12520:localhost:12520 -N -f -l username

Now launch your browser and go to http://localhost:12520 with your token.