Skip to content

Instantly share code, notes, and snippets.

@nkthiebaut
Created August 4, 2021 04:36
Show Gist options
  • Save nkthiebaut/69ee56096413588936cc92edd0b0afba to your computer and use it in GitHub Desktop.
Save nkthiebaut/69ee56096413588936cc92edd0b0afba to your computer and use it in GitHub Desktop.
Jupyter Lab on Google Colab
pip install -q jupyterlab
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa <<<y >/dev/null 2>&1
eval "$(ssh-agent -s)"
ssh-add
jupyter lab --ip=0.0.0.0 --port=8989 --allow-root & ssh -o StrictHostKeyChecking=no -R 80:localhost:8989 ssh.localhost.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment