vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Windows discovery of SSH path (doesn't look for user-only install from git for windows)

Open astrowonk opened this issue 3 years ago • 3 comments

  • VSCode Version: 1.68.1
  • Local OS Version: Windows 10
  • Remote OS Version: RHEL 7
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Install Git-bash to get SSH on a new windows Laptop (package installs in C:\\Users\\<username\\AppData\\Local\\Programs\\Git\\usr\\bin\\ssh.exe
  2. Use ssh in git-bash, works fine
  3. Try to configure VS Code SSH remote "SSH Installation not found"
  4. Tediously configure the remote.ssh.PATH variable with double slashes to point to SSH after remembering/finding where the binary is installed...

It would be much more user friendly if VS Code just looked in the users appdata local program for SSH! This has to be a fairly common windows installation location, right? Especially on work/corporate laptops where the user may not have permission to install outside of their user directory.

astrowonk avatar Jun 30 '22 13:06 astrowonk

Was also impacted by the same issue. Voting it up.

anastasia-pashkova avatar Jun 30 '22 13:06 anastasia-pashkova

We have a related internal ticket which we will be tackling soon so hopefully this will be resolved along with that issue. I will try to update this ticket here when that change is released.

eleanorjboyd avatar Dec 16 '22 18:12 eleanorjboyd

This is still a problem 18 months after opening the issue. This is the default location for ssh when installed via Git for Windows. I guess I'm puzzled for why this isn't a quick fix. Isn't there just a list of paths VS code looks in and you can just add one more string to the list? It feels like a quick usability win.

astrowonk avatar Feb 14 '24 19:02 astrowonk