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

An SSH installation couldn't be found (occurs sometimes)

Open totohero opened this issue 1 month ago • 0 comments

Is there an existing issue for this bug?

  • [x] I have searched the existing open issues and found none that apply.
  • [x] If I find any issue of interest that is related or closed, I will included a link to it in this issue.

Required Troubleshooting Steps

  • [x] I have read and performed the troubleshooting steps
  • [x] I have tried both values of the remote.SSH.useLocalServer setting
  • [x] My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
  • [x] I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar

[Optional] Diagnose with Copilot

I did not ask the @remote-ssh participant for help

In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?

I did not try step 2 of the troubleshooting steps

Remote-SSH Log

Remote-SSH Log

[15:41:21.146] Log Level: 2
[15:41:21.165] VS Code version: 1.106.2
[15:41:21.166] Remote-SSH version: [email protected]
[15:41:21.166] win32 x64
[15:41:21.173] SSH Resolver called for "ssh-remote+10.251.192.99", attempt 1
[15:41:21.177] remote.SSH.useLocalServer = false
[15:41:21.177] remote.SSH.useExecServer = true
[15:41:21.178] remote.SSH.bindHost = {}
[15:41:21.178] remote.SSH.showLoginTerminal = true
[15:41:21.178] remote.SSH.remotePlatform = {"10.251.192.99":"linux","10.251.244.185":"linux"}
[15:41:21.178] remote.SSH.path = C:\Windows\System32\OpenSSH\ssh.exe
[15:41:21.178] remote.SSH.configFile = 
[15:41:21.179] remote.SSH.useFlock = true
[15:41:21.179] remote.SSH.lockfilesInTmp = false
[15:41:21.179] remote.SSH.localServerDownload = auto
[15:41:21.180] remote.SSH.remoteServerListenOnSocket = false
[15:41:21.180] remote.SSH.defaultExtensions = []
[15:41:21.181] remote.SSH.defaultExtensionsIfInstalledLocally = []
[15:41:21.181] remote.SSH.loglevel = 2
[15:41:21.181] remote.SSH.enableDynamicForwarding = true
[15:41:21.181] remote.SSH.enableRemoteCommand = false
[15:41:21.181] remote.SSH.serverPickPortsFromRange = {}
[15:41:21.181] remote.SSH.serverInstallPath = {}
[15:41:21.182] remote.SSH.permitPtyAllocation = false
[15:41:21.182] remote.SSH.preferredLocalPortRange = undefined
[15:41:21.182] remote.SSH.useCurlAndWgetConfigurationFiles = false
[15:41:21.182] remote.SSH.experimental.chat = true
[15:41:21.182] remote.SSH.experimental.enhancedSessionLogs = true
[15:41:21.183] remote.SSH.httpProxy = {"*":""}
[15:41:21.183] remote.SSH.httpsProxy = {"*":""}
[15:41:21.202] SSH Resolver called for host: 10.251.192.99
[15:41:21.202] Setting up SSH remote "10.251.192.99"
[15:41:21.232] Using commit id "1e3c50d64110be466c0b4a45222e81d2c9352888" and quality "stable" for server
[15:41:21.232] Extensions to install: 
[15:41:21.281] Install and start server if needed
[15:41:21.289] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[15:41:22.601] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:41:31.563] ssh is not exiting, continuing
[15:41:31.565] The specified path C:\Windows\System32\OpenSSH\ssh.exe is not a valid SSH binary
[15:41:31.566] Checking ssh with "C:\Program Files\OpenSSH\ssh.exe -V"
[15:41:34.579] > OpenSSH_for_Windows_10.0p2 Win32-OpenSSH-GitHub, LibreSSL 4.2.0

[15:41:43.367] ssh is not exiting, continuing
[15:41:43.368] Checking ssh with "D:\python-3.12\Scripts\ssh.exe -V"
[15:41:43.371] Got error from ssh: spawn D:\python-3.12\Scripts\ssh.exe ENOENT
[15:41:43.372] Checking ssh with "D:\python-3.12\ssh.exe -V"
[15:41:43.374] Got error from ssh: spawn D:\python-3.12\ssh.exe ENOENT
[15:41:43.375] Checking ssh with "C:\windows\system32\ssh.exe -V"
[15:41:43.379] Got error from ssh: spawn C:\windows\system32\ssh.exe ENOENT
[15:41:43.379] Checking ssh with "C:\windows\ssh.exe -V"
[15:41:43.383] Got error from ssh: spawn C:\windows\ssh.exe ENOENT
[15:41:43.384] Checking ssh with "C:\windows\System32\Wbem\ssh.exe -V"
[15:41:43.388] Got error from ssh: spawn C:\windows\System32\Wbem\ssh.exe ENOENT
[15:41:43.388] Checking ssh with "C:\windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[15:41:43.393] Got error from ssh: spawn C:\windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[15:41:43.393] Checking ssh with "C:\windows\System32\OpenSSH\ssh.exe -V"
[15:41:59.780] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:42:01.082] ssh is not exiting, continuing
[15:42:01.083] Checking ssh with "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\ssh.exe -V"
[15:42:01.087] Got error from ssh: spawn C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\ssh.exe ENOENT
[15:42:01.088] Checking ssh with "C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR\ssh.exe -V"
[15:42:01.092] Got error from ssh: spawn C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR\ssh.exe ENOENT
[15:42:01.092] Checking ssh with "C:\Program Files\Git\cmd\ssh.exe -V"
[15:42:01.096] Got error from ssh: spawn C:\Program Files\Git\cmd\ssh.exe ENOENT
[15:42:01.097] Checking ssh with "C:\Program Files\Bandizip\ssh.exe -V"
[15:42:01.100] Got error from ssh: spawn C:\Program Files\Bandizip\ssh.exe ENOENT
[15:42:01.101] Checking ssh with "C:\Program Files (x86)\ePapyrus\PDF-Pro 5\ssh.exe -V"
[15:42:01.104] Got error from ssh: spawn C:\Program Files (x86)\ePapyrus\PDF-Pro 5\ssh.exe ENOENT
[15:42:01.105] Checking ssh with "c:\Work\전자소송프로그램(PC버전)\ssh.exe -V"
[15:42:01.109] Got error from ssh: spawn c:\Work\전자소송프로그램(PC버전)\ssh.exe ENOENT
[15:42:01.109] Checking ssh with "c:\Work\전자소송프로그램(PC버전)\Pdf\ssh.exe -V"
[15:42:01.113] Got error from ssh: spawn c:\Work\전자소송프로그램(PC버전)\Pdf\ssh.exe ENOENT
[15:42:01.113] Checking ssh with "c:\Work\전자소송프로그램(PC버전)\Pdf\Addins\ssh.exe -V"
[15:42:01.124] Got error from ssh: spawn c:\Work\전자소송프로그램(PC버전)\Pdf\Addins\ssh.exe ENOENT
[15:42:01.124] Checking ssh with "C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\ssh.exe -V"
[15:42:01.125] Got error from ssh: spawn C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\ssh.exe ENOENT
[15:42:01.126] Checking ssh with "C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\Addins\ssh.exe -V"
[15:42:01.127] Got error from ssh: spawn C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\Addins\ssh.exe ENOENT
[15:42:01.128] Checking ssh with "c:\Work\전자기록뷰어\ssh.exe -V"
[15:42:01.129] Got error from ssh: spawn c:\Work\전자기록뷰어\ssh.exe ENOENT
[15:42:01.129] Checking ssh with "c:\Work\전자기록뷰어\Pdf\ssh.exe -V"
[15:42:01.131] Got error from ssh: spawn c:\Work\전자기록뷰어\Pdf\ssh.exe ENOENT
[15:42:01.132] Checking ssh with "c:\Work\전자기록뷰어\Pdf\Addins\ssh.exe -V"
[15:42:01.136] Got error from ssh: spawn c:\Work\전자기록뷰어\Pdf\Addins\ssh.exe ENOENT
[15:42:01.136] Checking ssh with "c:\Users\stk.lim.CORP\AppData\Local\Programs\cursor\resources\app\bin\ssh.exe -V"
[15:42:01.140] Got error from ssh: spawn c:\Users\stk.lim.CORP\AppData\Local\Programs\cursor\resources\app\bin\ssh.exe ENOENT
[15:42:01.140] Checking ssh with "C:\Knox Drive\ssh.exe -V"
[15:42:01.145] Got error from ssh: spawn C:\Knox Drive\ssh.exe ENOENT
[15:42:01.146] Checking ssh with "C:\Knox Drive\vcredist64\ssh.exe -V"
[15:42:01.155] Got error from ssh: spawn C:\Knox Drive\vcredist64\ssh.exe ENOENT
[15:42:01.155] Checking ssh with "C:\Program Files\Microsoft VS Code\bin\ssh.exe -V"
[15:42:01.158] Got error from ssh: spawn C:\Program Files\Microsoft VS Code\bin\ssh.exe ENOENT
[15:42:01.158] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V"
[15:42:01.163] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT
[15:42:01.163] Checking ssh with "C:\WINDOWS\ssh.exe -V"
[15:42:01.168] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT
[15:42:01.168] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V"
[15:42:01.173] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT
[15:42:01.174] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[15:42:01.179] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[15:42:01.180] Checking ssh with "C:\Program Files\PuTTY\ssh.exe -V"
[15:42:01.185] Got error from ssh: spawn C:\Program Files\PuTTY\ssh.exe ENOENT
[15:42:01.186] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[15:42:10.199] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:42:18.907] ssh is not exiting, continuing
[15:42:18.908] Checking ssh with "C:\Users\stk.lim.CORP\.pyenv\pyenv-win\bin\ssh.exe -V"
[15:42:18.912] Got error from ssh: spawn C:\Users\stk.lim.CORP\.pyenv\pyenv-win\bin\ssh.exe ENOENT
[15:42:18.912] Checking ssh with "C:\Users\stk.lim.CORP\.pyenv\pyenv-win\shims\ssh.exe -V"
[15:42:18.915] Got error from ssh: spawn C:\Users\stk.lim.CORP\.pyenv\pyenv-win\shims\ssh.exe ENOENT
[15:42:18.916] Checking ssh with "C:\Users\stk.lim.CORP\.local\bin\ssh.exe -V"
[15:42:18.919] Got error from ssh: spawn C:\Users\stk.lim.CORP\.local\bin\ssh.exe ENOENT
[15:42:18.919] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Programs\Python\Launcher\ssh.exe -V"
[15:42:18.923] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Programs\Python\Launcher\ssh.exe ENOENT
[15:42:18.923] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WindowsApps\ssh.exe -V"
[15:42:18.927] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WindowsApps\ssh.exe ENOENT
[15:42:18.928] Checking ssh with "d:\python\ssh.exe -V"
[15:42:18.930] Got error from ssh: spawn d:\python\ssh.exe ENOENT
[15:42:18.931] Checking ssh with "C:\Program Files\JetBrains\JetBrains Gateway 2024.1.1\bin\ssh.exe -V"
[15:42:18.935] Got error from ssh: spawn C:\Program Files\JetBrains\JetBrains Gateway 2024.1.1\bin\ssh.exe ENOENT
[15:42:18.936] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Roaming\sh.loft.devpod\bin\ssh.exe -V"
[15:42:18.940] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Roaming\sh.loft.devpod\bin\ssh.exe ENOENT
[15:42:18.940] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WinGet\Packages\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe\ssh.exe -V"
[15:42:18.957] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WinGet\Packages\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe\ssh.exe ENOENT
[15:42:18.957] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Programs\Microsoft VS Code\bin\ssh.exe -V"
[15:42:18.962] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Programs\Microsoft VS Code\bin\ssh.exe ENOENT
[15:42:18.962] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\PowerToys\ssh.exe -V"
[15:42:18.966] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\PowerToys\ssh.exe ENOENT
[15:42:18.966] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[15:42:22.304] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:42:31.051] ssh is not exiting, continuing
[15:42:31.051] Checking ssh with "C:\Program Files\Git\usr\bin\ssh.exe -V"
[15:42:43.417] ssh is not exiting, continuing
[15:42:43.418] Checking ssh with "C:\Program Files (x86)\Git\usr\bin\ssh.exe -V"
[15:42:43.421] Got error from ssh: spawn C:\Program Files (x86)\Git\usr\bin\ssh.exe ENOENT
[15:42:43.422] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Programs\Git\usr\bin\ssh.exe -V"
[15:42:43.425] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Programs\Git\usr\bin\ssh.exe ENOENT
[15:42:43.425] Finding installed ssh failed: ssh installation not found
[15:42:43.426] Resolver error: Error: ssh installation not found
    at c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:835556
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async E (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:830701)
    at async D (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:830606)
    at async t.generateMultiLineCommand (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:832397)
    at async t.generateSshCommand (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:865728)
    at async c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824152
    at async t.withShowDetailsEvent (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:827501)
    at async A (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:820760)
    at async t.resolve (c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824898)
    at async c:\Users\stk.lim.CORP\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:1113660
[15:42:43.437] ------




[15:42:43.438]  ---------- [Session Summary] ----------- 
[15:42:43.438] [SshInstall]: Error: SshInstall (ssh installation not found)
[15:42:43.439]  ---------------------------------------- 
[15:42:51.587] Opening exec server for ssh-remote+10.251.192.99
[15:42:51.651] Initizing new exec server for ssh-remote+10.251.192.99
[15:42:51.653] Using commit id "1e3c50d64110be466c0b4a45222e81d2c9352888" and quality "stable" for server
[15:42:51.654] Extensions to install: 
[15:42:51.731] Install and start server if needed
[15:42:51.737] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[15:42:56.408] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:43:03.501] ssh is not exiting, continuing
[15:43:03.503] The specified path C:\Windows\System32\OpenSSH\ssh.exe is not a valid SSH binary
[15:43:03.504] Checking ssh with "C:\Program Files\OpenSSH\ssh.exe -V"
[15:43:04.777] > OpenSSH_for_Windows_10.0p2 Win32-OpenSSH-GitHub, LibreSSL 4.2.0

[15:43:13.872] ssh is not exiting, continuing
[15:43:13.873] Checking ssh with "D:\python-3.12\Scripts\ssh.exe -V"
[15:43:13.876] Got error from ssh: spawn D:\python-3.12\Scripts\ssh.exe ENOENT
[15:43:13.876] Checking ssh with "D:\python-3.12\ssh.exe -V"
[15:43:13.878] Got error from ssh: spawn D:\python-3.12\ssh.exe ENOENT
[15:43:13.878] Checking ssh with "C:\windows\system32\ssh.exe -V"
[15:43:13.881] Got error from ssh: spawn C:\windows\system32\ssh.exe ENOENT
[15:43:13.881] Checking ssh with "C:\windows\ssh.exe -V"
[15:43:13.884] Got error from ssh: spawn C:\windows\ssh.exe ENOENT
[15:43:13.886] Checking ssh with "C:\windows\System32\Wbem\ssh.exe -V"
[15:43:13.888] Got error from ssh: spawn C:\windows\System32\Wbem\ssh.exe ENOENT
[15:43:13.889] Checking ssh with "C:\windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[15:43:13.892] Got error from ssh: spawn C:\windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[15:43:13.892] Checking ssh with "C:\windows\System32\OpenSSH\ssh.exe -V"
[15:43:15.183] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:43:24.235] ssh is not exiting, continuing
[15:43:24.236] Checking ssh with "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\ssh.exe -V"
[15:43:24.241] Got error from ssh: spawn C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\ssh.exe ENOENT
[15:43:24.241] Checking ssh with "C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR\ssh.exe -V"
[15:43:24.245] Got error from ssh: spawn C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR\ssh.exe ENOENT
[15:43:24.245] Checking ssh with "C:\Program Files\Git\cmd\ssh.exe -V"
[15:43:24.249] Got error from ssh: spawn C:\Program Files\Git\cmd\ssh.exe ENOENT
[15:43:24.249] Checking ssh with "C:\Program Files\Bandizip\ssh.exe -V"
[15:43:24.253] Got error from ssh: spawn C:\Program Files\Bandizip\ssh.exe ENOENT
[15:43:24.254] Checking ssh with "C:\Program Files (x86)\ePapyrus\PDF-Pro 5\ssh.exe -V"
[15:43:24.257] Got error from ssh: spawn C:\Program Files (x86)\ePapyrus\PDF-Pro 5\ssh.exe ENOENT
[15:43:24.257] Checking ssh with "c:\Work\전자소송프로그램(PC버전)\ssh.exe -V"
[15:43:24.261] Got error from ssh: spawn c:\Work\전자소송프로그램(PC버전)\ssh.exe ENOENT
[15:43:24.262] Checking ssh with "c:\Work\전자소송프로그램(PC버전)\Pdf\ssh.exe -V"
[15:43:24.267] Got error from ssh: spawn c:\Work\전자소송프로그램(PC버전)\Pdf\ssh.exe ENOENT
[15:43:24.267] Checking ssh with "c:\Work\전자소송프로그램(PC버전)\Pdf\Addins\ssh.exe -V"
[15:43:24.272] Got error from ssh: spawn c:\Work\전자소송프로그램(PC버전)\Pdf\Addins\ssh.exe ENOENT
[15:43:24.272] Checking ssh with "C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\ssh.exe -V"
[15:43:24.276] Got error from ssh: spawn C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\ssh.exe ENOENT
[15:43:24.277] Checking ssh with "C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\Addins\ssh.exe -V"
[15:43:24.281] Got error from ssh: spawn C:\Program Files (x86)\ePapyrus\Papyrus-PlugIn-web\Addins\ssh.exe ENOENT
[15:43:24.281] Checking ssh with "c:\Work\전자기록뷰어\ssh.exe -V"
[15:43:24.285] Got error from ssh: spawn c:\Work\전자기록뷰어\ssh.exe ENOENT
[15:43:24.285] Checking ssh with "c:\Work\전자기록뷰어\Pdf\ssh.exe -V"
[15:43:24.290] Got error from ssh: spawn c:\Work\전자기록뷰어\Pdf\ssh.exe ENOENT
[15:43:24.290] Checking ssh with "c:\Work\전자기록뷰어\Pdf\Addins\ssh.exe -V"
[15:43:24.294] Got error from ssh: spawn c:\Work\전자기록뷰어\Pdf\Addins\ssh.exe ENOENT
[15:43:24.295] Checking ssh with "c:\Users\stk.lim.CORP\AppData\Local\Programs\cursor\resources\app\bin\ssh.exe -V"
[15:43:24.299] Got error from ssh: spawn c:\Users\stk.lim.CORP\AppData\Local\Programs\cursor\resources\app\bin\ssh.exe ENOENT
[15:43:24.300] Checking ssh with "C:\Knox Drive\ssh.exe -V"
[15:43:24.304] Got error from ssh: spawn C:\Knox Drive\ssh.exe ENOENT
[15:43:24.304] Checking ssh with "C:\Knox Drive\vcredist64\ssh.exe -V"
[15:43:24.309] Got error from ssh: spawn C:\Knox Drive\vcredist64\ssh.exe ENOENT
[15:43:24.310] Checking ssh with "C:\Program Files\Microsoft VS Code\bin\ssh.exe -V"
[15:43:24.314] Got error from ssh: spawn C:\Program Files\Microsoft VS Code\bin\ssh.exe ENOENT
[15:43:24.315] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V"
[15:43:24.319] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT
[15:43:24.319] Checking ssh with "C:\WINDOWS\ssh.exe -V"
[15:43:24.322] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT
[15:43:24.322] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V"
[15:43:24.326] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT
[15:43:24.326] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[15:43:24.328] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[15:43:24.329] Checking ssh with "C:\Program Files\PuTTY\ssh.exe -V"
[15:43:24.331] Got error from ssh: spawn C:\Program Files\PuTTY\ssh.exe ENOENT
[15:43:24.332] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[15:43:25.708] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:43:34.810] ssh is not exiting, continuing
[15:43:34.811] Checking ssh with "C:\Users\stk.lim.CORP\.pyenv\pyenv-win\bin\ssh.exe -V"
[15:43:34.815] Got error from ssh: spawn C:\Users\stk.lim.CORP\.pyenv\pyenv-win\bin\ssh.exe ENOENT
[15:43:34.816] Checking ssh with "C:\Users\stk.lim.CORP\.pyenv\pyenv-win\shims\ssh.exe -V"
[15:43:34.819] Got error from ssh: spawn C:\Users\stk.lim.CORP\.pyenv\pyenv-win\shims\ssh.exe ENOENT
[15:43:34.820] Checking ssh with "C:\Users\stk.lim.CORP\.local\bin\ssh.exe -V"
[15:43:34.823] Got error from ssh: spawn C:\Users\stk.lim.CORP\.local\bin\ssh.exe ENOENT
[15:43:34.824] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Programs\Python\Launcher\ssh.exe -V"
[15:43:34.827] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Programs\Python\Launcher\ssh.exe ENOENT
[15:43:34.828] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WindowsApps\ssh.exe -V"
[15:43:34.832] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WindowsApps\ssh.exe ENOENT
[15:43:34.832] Checking ssh with "d:\python\ssh.exe -V"
[15:43:34.834] Got error from ssh: spawn d:\python\ssh.exe ENOENT
[15:43:34.834] Checking ssh with "C:\Program Files\JetBrains\JetBrains Gateway 2024.1.1\bin\ssh.exe -V"
[15:43:34.838] Got error from ssh: spawn C:\Program Files\JetBrains\JetBrains Gateway 2024.1.1\bin\ssh.exe ENOENT
[15:43:34.838] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Roaming\sh.loft.devpod\bin\ssh.exe -V"
[15:43:34.842] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Roaming\sh.loft.devpod\bin\ssh.exe ENOENT
[15:43:34.843] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WinGet\Packages\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe\ssh.exe -V"
[15:43:34.847] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Microsoft\WinGet\Packages\Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe\ssh.exe ENOENT
[15:43:34.848] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Programs\Microsoft VS Code\bin\ssh.exe -V"
[15:43:34.852] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Programs\Microsoft VS Code\bin\ssh.exe ENOENT
[15:43:34.853] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\PowerToys\ssh.exe -V"
[15:43:34.857] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\PowerToys\ssh.exe ENOENT
[15:43:34.857] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[15:43:37.636] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[15:43:46.703] ssh is not exiting, continuing
[15:43:46.704] Checking ssh with "C:\Program Files\Git\usr\bin\ssh.exe -V"
[15:43:57.938] ssh is not exiting, continuing
[15:43:57.939] Checking ssh with "C:\Program Files (x86)\Git\usr\bin\ssh.exe -V"
[15:43:57.944] Got error from ssh: spawn C:\Program Files (x86)\Git\usr\bin\ssh.exe ENOENT
[15:43:57.945] Checking ssh with "C:\Users\stk.lim.CORP\AppData\Local\Programs\Git\usr\bin\ssh.exe -V"
[15:43:57.949] Got error from ssh: spawn C:\Users\stk.lim.CORP\AppData\Local\Programs\Git\usr\bin\ssh.exe ENOENT
[15:43:57.950] Finding installed ssh failed: ssh installation not found
[15:43:57.950] Exec server for ssh-remote+10.251.192.99 failed: Error: ssh installation not found
[15:43:57.950] Error opening exec server for ssh-remote+10.251.192.99: Error: ssh installation not found
[15:43:57.951]  ---------- [Session Summary] ----------- 
[15:43:57.951] [SshInstall]: Error: SshInstall (ssh installation not found)
[15:43:57.951]  ---------------------------------------- 

Expected Behavior

ssh is found and executed always

Actual Behavior

Sometimes ssh is executed successfully but sometimes vs code fails to execute it

Steps To Reproduce

  1. Windows 11 23H2
  2. Run vscode
  3. Try remote-ssh

Anything else?

It usually works right after starting Windows, but it fails if I try it after using it for a while.

totohero avatar Nov 26 '25 07:11 totohero