DEV Community

hub
hub

Posted on

methods: Is it possible to connect vscode (on a local machine) with Google Colab (the free service) runtime?

The current accepted answer didn't work for me. What worked for me was running the following in google collab:

import random, string
password = ''.join(random.choice(string.ascii_letters + string.digits) for i in range(64))
# install pyngrok for opening a tunnel
!pip install pyngrok -q
#Setup sshd
! apt-get install -qq -o=Dpkg::Use-Pty=0 openssh-server

Oldest comments (1)

Collapse
 
digital_hub profile image
hub • Edited

*see here more methods *

How to Connect to VSCode to Colab
colab.research.google.com/github/J...

Is it possible to connect vscode (on a local machine) with Google Colab (the free service) runtime?
stackoverflow.com/questions/595082...

How to Use Google Colab with VS Code
freecodecamp.org/news/how-to-use-g...

Colab + Vs Code + GitHub + Jupyter (Perfect for Deep Learning)
medium.com/analytics-vidhya/colab-...

VSCode on Google Colab
amitness.com/vscode-on-colab/