title: VSCode: how to ssh remote connect to remote WSL2
body: <p>Is it possible in VSCode to edit files within WSL2 of a <em>remote</em> PC. (This is like a combination of Remote-WSL and Remote-SSH.) I can connect to that remote PC via ssh and RDP.</p>
  <p>The path <code>\\wsl$\</code> does not seem to be available in my remote-ssh connection.</p>
  <pre><code>PCA - me, local, VSCode
  ^
  |
  ssh and/or RDP
  |
  V
  PCB - remote, WSL2
  </code></pre>
  <p>(I currently have Windows OpenSSH set up on the remote PC, with the default CMD shell. I tried setting the shell to Bash but then the remote extension wouldn't install.)</p>
  <p><strong>Update</strong> Setting PC-B's ssh server shell to <code>bash.exe</code> <em>does</em> solve all my problems. I'm not sure why it didn't work before. See my answer below for more details.</p>