Can I SSH from WSL in Visual Studio Code?
You can create ssh.bat file under windows with the content: C:\Windows\system32\wsl.exe ssh %* And then set VS Code setting “remote.SSH.path” to point to that bat file. You’ll have the same ssh configuration and credentials in VS Code as you have in WSL.