I've just found another method without using ssh.
# Install jupyterlab and ngrok
!pip install jupyterlab==2.2.9 pyngrok -q
# Run jupyterlab in background
!nohup jupyter lab --ip=0.0.0.0 &
# Make jupyterlab accessible via ngrok
from pyngrok import ngrok
print(ngrok.connect(8888))
It will then show a JupyterLab URL
http://f1fe6fb39df6.ngrok.io # for example
…
Top comments (1)
i allways wondered how to connect google-colab with a local machine
there are several methods possible