Working with Jupyter Lab/Notebook using VS Code Remote SSH

Running your code on mimi.uio.no from your local VS Code and browser using VS Code Remote SSH.

Image may contain: Font, Electric blue, Symbol, Circle, Graphics.
By Kjetil Bakke
Published Aug. 2, 2023

In this example we will run Jupyter Lab on mimi.uio.no.

  • Connect to mimi.uio.no with VS Code as described here
  • Open a terminal (Ctrl + Shift + Ø)
  • Load the module Anaconda/2022.05
[kjetba@mimi ~]$ module load JupyterLab/4.4.9-GCCcore-14.3.0
  • Start Jupyter Lab
[kjetba@mimi ~]$ jupyter lab --no-browser
  • VScode automatically creates a port forwarding, allowing you to access the notebook from you local browser.
  • Click "Open in Browser" (or copy the URL and paste it in your browser)

And yes, VS Code works great with Git!

Tags: jupyter, vscode, notebook, lab, git, mimi, modules, ssh
Published Aug. 2, 2023 2:08 PM - Last modified Nov. 11, 2026 10:11 AM