You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where user is the userid on the WSL instance. Note: I think the instructions on the link are swapped for folder and file references.
I can't find the same documentation for ssh-remote?
In WSL, being the logical owner of the instance and not a cluster, the full path to the user login is always known.
My question is how does the url format handle the case where the person connecting does not know the absolute path for their login before they login. e.g. when logging into a cluster. Often in that case the login shell determines the users logical homedir path.
How I think this works, is that vscode does a shell login ssh user@system .... bash then installs the vscode remote handlers in ~/.vscode and then does a chdir to the project via that link.
Is there a two step process or does the ${HOME} environment variable work?
I tried all the following with wsl and only the first one works.
This makes a request for the clarrification of the correct syntax. as it is the parsing done in vscode-remote and not wsl-remote or ssh-remote that needs better documetation.
The documentation for wsl-remote gives the url format.
From the cli:
Extensions use the same but without the
code --switch
part.ref: https://code.visualstudio.com/docs/remote/wsl
Where
user
is the userid on the WSL instance.Note: I think the instructions on the link are swapped for folder and file references.
I can't find the same documentation for ssh-remote?
In WSL, being the logical owner of the instance and not a cluster, the full path to the user login is always known.
My question is how does the url format handle the case where the person connecting does not know the absolute path for their login before they login. e.g. when logging into a cluster. Often in that case the login shell determines the users logical homedir path.
How I think this works, is that vscode does a shell login
ssh user@system .... bash
then installs the vscode remote handlers in ~/.vscode and then does a chdir to the project via that link.Is there a two step process or does the ${HOME} environment variable work?
I tried all the following with wsl and only the first one works.
This makes a request for the clarrification of the correct syntax. as it is the parsing done in vscode-remote and not wsl-remote or ssh-remote that needs better documetation.
The text was updated successfully, but these errors were encountered: