'C:\Users\User' is not recognized as an internal or external command, operable program or batch file

Viewed 2267

When I using VS code remote SSH connection, it always fails to connect and warning me "'C:\Users\User' is not recognized as an internal or external command, operable program or batch file."

I guess the issue is the path "C:\Users\User" contains space, and the full path should be something like "C:\Users\User Name...", but I don't know how to suppress and add the escape character to space.

Can anyone help me to resolve the problem? Many thanks!

Other information:

Operating system: Windows 10.

I have installed OpenSSH and I can connect to the remote server using windows PowerShell or git bash.

The version for VS code is 1.43.0 and extension is 0.50.0.

0 Answers
Related