demotomohiro / remocolab

remocolab is a Python module to allow remote access to Google Colaboratory using SSH or TurboVNC.
MIT License
317 stars 230 forks source link

Add `ngrok_token` parameter to the `setupSSHD()` function and don't prompt for GPU runtime checking. #26

Closed vbuterin2 closed 4 years ago

demotomohiro commented 4 years ago

ngrok token must be kept secret. If you can specify ngrok token to remocolab.setupSSHD() or remocolab.setupVNC(), you can save ngrok token to a notebook. Then, you might forget that your notebook contains it and share the notebook. I understand people hate copy & pasting ngrok token everytime they use remocolab, but I don't know how to skip it without risking a security.

Pass check_gpu_available = False to setupSSHD().

vbuterin2 commented 4 years ago

ngrok token must be kept secret. If you can specify ngrok token to remocolab.setupSSHD() or remocolab.setupVNC(), you can save ngrok token to a notebook. Then, you might forget that your notebook contains it and share the notebook. I understand people hate copy & pasting ngrok token everytime they use remocolab, but I don't know how to skip it without risking a security.

Pass check_gpu_available = False to setupSSHD().

Kaggle has this feature to set a secret field in notebook but unfortunately google colab doesn't.