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

Unable to connect through SSH #99

Open alok-debnath opened 3 years ago

alok-debnath commented 3 years ago

I get error while trying to connect through powershell "CreateProcessW failed error:2 posix_spawnp: No such file or directory"

after entering this code "ssh -o UserKnownHostsFile=/dev/null -o VisualHostKey=yes -oProxyCommand="cloudflared access ssh --hostname %h" colab@lasting-permission-alternatives-observation.trycloudflare.com"

rayanfer32 commented 3 years ago

You need to install the cloudflare executable from here https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation

alok-debnath commented 3 years ago

what to do after downloading and running it. Noting seems to work, it's just showing a terminal after opening the exe file and there I can write anything

rayanfer32 commented 3 years ago

open cmd and type cloudflared and if it is not added to path then add it .

autonomousdriver commented 2 years ago

@alok-debnath Is this issue solved? I too have the same issue.

suhassridhar commented 2 years ago

I faced the same issue. You can specify the directory location of cloudflared instead of mentioning cloudflared in the path. Say like this: ssh -o UserKnownHostsFile=/dev/null -o VisualHostKey=yes -oProxyCommand="C:\Users\Suhas\Downloads\cloudflared-windows-amd64.exe access ssh --hostname %h" -L 5901:localhost:5901......