This set of scripts creates a reverse tunnel to your notebook using Ngrok, and sets up a reverse proxy so we can use at least basic http auth to keep our kernel unexposed.
- Create ngrok account and obtain api key
- Generate credentials for basic auth in format: "username password" in ~/.ngrok_http
- Store api key and credentials in Kaggle secrets
- Run "in notebook.py" in notebook, and obtain url
- Run jupyter-tunnel.sh
- Switch to remote kernel in VS Code and paste url