microsoft / microsoft/vscode-remote-release
Allow configuring SCP similar to `Remote.SSH: Path` setting
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Did a quick search for SCP and did not find a similar request. Please allow us to configure the SCP path similar to SSH path.
That will solve several issues when using WSL. I want my SSH/SCP connections to happen through WSL, not directly through Windows. I can do that for SSH via setting the path setting. Using an ssh-helper.bat script below.
ssh-helper.bat
C:\Windows\system32\wsl.exe ssh %*
There is no option to do so for SCP so I have to disable Local Server Download.
Full Context
I am using DevSpaces in WSL to create remote development containers inside of my Kubernetes cluster. DevSpaces can be configured to setup a remote ssh server inside of the pod and saves the credentials locally in wsl. Here is the workaround I have to do to get this functioning.
- For ease of use, I symlink my
~/.ssh/configin WSL to my Windows host - Set VSCode SSH Extension setting
Remote.SSH: Pathto the full path tossh-helper.bat(contents above) - Set VSCode SSH Extension setting
Remote.SSH: Local Server Downloadto off. - Set VSCode SSH Extension setting
Remote.SSH: Enable enableDynamicForwardingto off. - In remote container, make sure curl/wget is available for downloading.
With this I can start the devspace from my WSL instance. Connect from VSCode which is using RemoteSSH.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading how the existing Remote.SSH: Path setting is handled and tracing where SCP is invoked. Use the provided ssh-helper.bat example as the desired WSL wrapper. Done means SCP has a configurable path so transfers can run through WSL without disabling Local Server Download.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, vscode
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100