Skip to content

Remote-SSH: Fails to discover WSL SSH #937

@UnicodeTreason

Description

@UnicodeTreason
  • VSCode Version: 1.37.0-insider
  • Local OS Version: Windows 10 1803
  • Remote OS Version: N/A
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Have Remote-SSH installed
  2. Connect to Host
  3. VSCode fails to find any SSH with error "An SSH installation couldn't be found"
  4. I checked the Remote - SSH Output and can't even see it attempting to look for WSL SSH
    Got error from ssh: spawn ssh ENOENT
    Testing ssh with C:\WINDOWS\System32\OpenSSH\ssh.exe -V
    Got error from ssh: spawn C:\WINDOWS\System32\OpenSSH\ssh.exe ENOENT
    Testing ssh with C:\Program Files\Git\usr\bin\ssh.exe -V
    Got error from ssh: spawn C:\Program Files\Git\usr\bin\ssh.exe ENOENT
    Testing ssh with C:\Program Files (x86)\Git\usr\bin\ssh.exe -V
    Got error from ssh: spawn C:\Program Files (x86)\Git\usr\bin\ssh.exe ENOENT
    Finding installed ssh failed: ssh installation not found
    ssh installation not found

Which is unexpected as the documentation here: https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-client

Specifically states it'll use WSL SSH
image

These closed issues also make it look as though it WAS added recently:
#359
#448

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityplan-reviewPM-highlighted item determined to be P1 or P2sshIssue in vscode-remote SSH

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions