remocolab icon indicating copy to clipboard operation
remocolab copied to clipboard

Unable to connect through SSH

Open alok-debnath opened this issue 3 years ago • 5 comments

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"

alok-debnath avatar Sep 10 '21 14:09 alok-debnath

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

rayanfer32 avatar Sep 10 '21 16:09 rayanfer32

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

alok-debnath avatar Sep 10 '21 17:09 alok-debnath

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

rayanfer32 avatar Sep 10 '21 17:09 rayanfer32

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

autonomousdriver avatar Mar 02 '22 15:03 autonomousdriver

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

suhassridhar avatar Apr 26 '22 08:04 suhassridhar