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
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.