Look for common ssh command locations if ssh not found in the path #448
Labels
feature-request
Request for new features or functionality
ssh
Issue in vscode-remote SSH
windows
Issue on Windows
Milestone
After observing customers setting up SSH on Windows, one of the challenges is that customers face is that SSH may not be in the path even if it is installed on the system. In particular a SSH client is delivered with Git that is on a large percentage of systems but Git's install defaults do not put it in the path. Things can be further confused by the fact that developers may have VS Code's terminal set to to use Git's bash implementation, WSL, or be externally using something like cmder that makes it appear
ssh.exe
is in the path when it actually is not. Windows 10 ships a native client, but it is not present by default and not everyone knows about it.I'd propose we enhance the SSH detection code to do the following in order of precedence:
//cc: @roblourens
The text was updated successfully, but these errors were encountered: