Bastion - Con VS Code (o las IDEs de Jetberains) no puedes iniciar un sesión con remote SSH
Una conexión desde terminal funciona: ![imagen.png](/uploads/1e5bc50dc7bcd64421cae6eca99632a4/imagen.png) Pero cuando se intenta Remote SSH: ![imagen.png](/uploads/1d370ea33ccbdcbb0d00dcb1cc8eef6a/imagen.png) Pero con Wieguard no hay problema: ![imagen.png](/uploads/992e4eadeaa2fd95c44e234cc7f44062/imagen.png) Log ``` [07:51:56.280] Log Level: 2 [07:51:56.291] SSH Resolver called for "ssh-remote+e6a0307a-f48f-46e2-9fed-87e34a2d4f61", attempt 1 [07:51:56.295] remote.SSH.useLocalServer = false [07:51:56.295] remote.SSH.useExecServer = true [07:51:56.295] remote.SSH.bindHost = {} [07:51:56.295] remote.SSH.showLoginTerminal = false [07:51:56.295] remote.SSH.remotePlatform = {"10.2.215.97":"linux","10.2.194.122":"linux"} [07:51:56.295] remote.SSH.path = [07:51:56.296] remote.SSH.configFile = [07:51:56.296] remote.SSH.useFlock = true [07:51:56.296] remote.SSH.lockfilesInTmp = false [07:51:56.296] remote.SSH.localServerDownload = auto [07:51:56.296] remote.SSH.remoteServerListenOnSocket = false [07:51:56.296] remote.SSH.defaultExtensions = [] [07:51:56.296] remote.SSH.defaultExtensionsIfInstalledLocally = [] [07:51:56.296] remote.SSH.loglevel = 2 [07:51:56.296] remote.SSH.enableDynamicForwarding = true [07:51:56.296] remote.SSH.enableRemoteCommand = false [07:51:56.296] remote.SSH.serverPickPortsFromRange = {} [07:51:56.296] remote.SSH.serverInstallPath = {} [07:51:56.296] remote.SSH.permitPtyAllocation = false [07:51:56.296] remote.SSH.preferredLocalPortRange = undefined [07:51:56.296] remote.SSH.useCurlAndWgetConfigurationFiles = false [07:51:56.296] remote.SSH.experimental.chat = true [07:51:56.296] remote.SSH.experimental.enhancedSessionLogs = true [07:51:56.296] remote.SSH.httpProxy = {"*":""} [07:51:56.296] remote.SSH.httpsProxy = {"*":""} [07:51:56.301] VS Code version: 1.96.3 [07:51:56.301] Remote-SSH version: remote-ssh@0.120.0 [07:51:56.301] win32 x64 [07:51:56.304] SSH Resolver called for host: e6a0307a-f48f-46e2-9fed-87e34a2d4f61 [07:51:56.304] Setting up SSH remote "e6a0307a-f48f-46e2-9fed-87e34a2d4f61" [07:51:56.309] Using commit id "91fbdddc47bc9c09064bf7acf133d22631cbf083" and quality "stable" for server [07:51:56.309] Extensions to install: [07:51:56.313] Install and start server if needed [07:51:58.283] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V" [07:51:58.285] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT [07:51:58.285] Checking ssh with "C:\WINDOWS\ssh.exe -V" [07:51:58.286] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT [07:51:58.286] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V" [07:51:58.287] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT [07:51:58.287] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V" [07:51:58.288] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT [07:51:58.288] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V" [07:51:58.309] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 [07:51:58.313] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 61062 "e6a0307a-f48f-46e2-9fed-87e34a2d4f61" sh [07:51:58.314] Generated SSH command: 'type "C:\Users\david\AppData\Local\Temp\vscode-linux-multi-line-command-e6a0307a-f48f-46e2-9fed-87e34a2d4f61-273169189.sh" | "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 61062 "e6a0307a-f48f-46e2-9fed-87e34a2d4f61" sh' [07:51:58.314] Using connect timeout of 17 seconds [07:51:58.315] Terminal shell path: C:\WINDOWS\System32\cmd.exe [07:51:58.501] > [07:51:58.501] Got some output, clearing connection timeout [07:51:59.120] > You are using IsardVDI.(_( > /_/'_____/) > " | | > |""""""| > > Enjoy. [07:52:00.670] "install" terminal command done [07:52:00.670] Install terminal quit with output: Enjoy. [07:52:00.670] Received install output: Enjoy. [07:52:00.670] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped. [07:52:00.671] Failed to parse remote port from server output [07:52:00.672] Resolver error: Error: at y.Create (C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:744751) at t.handleInstallOutput (C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:742832) at t.tryInstall (C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:865534) at async C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824246 at async t.withShowDetailsEvent (C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:827501) at async A (C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:820760) at async t.resolve (C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824898) at async C:\Users\david\scoop\persist\vscode\data\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:1113660 [07:52:00.676] ------ [07:52:00.676] No hints found in the recent session. [07:52:01.002] Opening exec server for ssh-remote+e6a0307a-f48f-46e2-9fed-87e34a2d4f61 [07:52:01.016] Initizing new exec server for ssh-remote+e6a0307a-f48f-46e2-9fed-87e34a2d4f61 [07:52:01.016] Using commit id "91fbdddc47bc9c09064bf7acf133d22631cbf083" and quality "stable" for server [07:52:01.017] Extensions to install: [07:52:01.018] Install and start server if needed [07:52:07.640] getPlatformForHost was canceled [07:52:07.640] Exec server for ssh-remote+e6a0307a-f48f-46e2-9fed-87e34a2d4f61 failed: Error: Connecting was canceled [07:52:07.640] Error opening exec server for ssh-remote+e6a0307a-f48f-46e2-9fed-87e34a2d4f61: Error: Connecting was canceled [07:52:07.640] No hints found in the recent session. ```
issue