WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Cannot use vscode while under ssh

Open Tywnnvlad opened this issue 4 years ago • 2 comments

Version

10.0.22000.469

WSL Version

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

5.10.16

Distro Version

20.04

Other Software

Visual Studio Code 1.164.4 x64 Remote ssh 0.73.20220 Windows Terminal 1.11.3471.0

Repro Steps

ssh xxx.xxx.ca "to the desired computer" cd "to the desired folder" code . "to remotely open the folder"

Expected Behavior

Previous versions, as far as I can remember is that it should open the folder through vscode and It would let me open and change files.

Actual Behavior

Nothing happens, although using "ssh -X" launches vscode under wsl2 GUI but it is very slow.

Diagnostic Logs

No response

Tywnnvlad avatar Feb 09 '22 16:02 Tywnnvlad

Just as a due diligence check, do you have the VSCode remote extensions for WSL and SSH installed/enabled on your host?

ghost avatar Feb 14 '22 18:02 ghost

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

ghost avatar Feb 21 '22 20:02 ghost