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

前端 未结 5 730
情歌与酒
情歌与酒 2021-01-30 05:30

I know on GCP, we can set up a vscode server and connect to that. But what I\'m after here, is to know whether it is possible to connect to the runtime instance on Google Colab

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 06:11

    I encountered the same issue with second login and I finally figured that out.

    This issue is raised by no execution permission for the ./ngrok file. In my understand,when downloaded ngrok and unziped it at the first time, it gained the execute permission. So you were able to create a tunnel. But when the Colab runtime was restarted, I think it automatically recycled those permissions, because when I tried ./ngrok authtoken $authtoken ...., it gave me permission denied error.

    Therefore the only thing need to be done is to reassign ./ngrok the execute permission, for example , run chmod 755 ./ngrok. And script will work.

提交回复
热议问题