You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following entry in ssh config:
Host my_machine(21.120)
HostName 10.125.21.120
User svinogra
IdentityFile C:\Users\svinogra.ssh\id_rsa-remote-ssh
When I try to connect from VS code I got the following error:
[11:42:36.590] [email protected]
[11:42:36.590] win32 x64
[11:42:36.591] SSH Resolver called for "ssh-remote+my_machine(21.120)", attempt 1
[11:42:36.591] SSH Resolver called for host: my_machine(21.120)
[11:42:36.591] Setting up SSH remote "my_machine(21.120)"
[11:42:36.630] Using commit id "f06011ac164ae4dc8e753a3fe7f9549844d15e35" and quality "stable" for server
[11:42:36.635] Testing ssh with ssh -V
[11:42:36.645] Got error from ssh: spawn ssh ENOENT
[11:42:36.645] Testing ssh with C:\WINDOWS\System32\OpenSSH\ssh.exe -V
[11:42:36.650] Got error from ssh: spawn C:\WINDOWS\System32\OpenSSH\ssh.exe ENOENT
[11:42:36.650] Testing ssh with C:\Program Files\Git\usr\bin\ssh.exe -V
[11:42:36.966] ssh exited with code: 0
[11:42:36.966] Got stderr from ssh: OpenSSH_8.0p1, OpenSSL 1.1.1c 28 May 2019
[11:42:36.967] Running script with connection command: "C:\Program Files\Git\usr\bin\ssh.exe" -o ClearAllForwardings=true my_machine(21.120) bash
[11:42:36.969] Install and start server if needed
[11:42:37.500] >
[11:42:37.500] Got some output, clearing connection timeout
[11:42:37.594] > bash) was unexpected at this time.
>
[11:42:38.019] "install" terminal command done
[11:42:38.019] Install terminal quit with output: bash) was unexpected at this time.
[11:42:38.019] Received install output: bash) was unexpected at this time.
[11:42:38.020] Failed to parse remote port from server output: bash) was unexpected at this time.
[11:42:38.020]
[11:42:38.020] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"UnparsableOutput"},"measures":{"resolveAttempts":1,"retries":1}}
[11:42:38.021] ------
I did some investigation and tried to run the following command from the Windows command line: C:\Users\svinogra>"C:\Program Files\Git\usr\bin\ssh.exe" -o ClearAllForwardings=true my_machine(21.120)
The text was updated successfully, but these errors were encountered:
This is due to the parentheses in your host name. It's fixed in the nightly version of this extension and the fix will come to the stable version soon.
Steps to Reproduce:
Host my_machine(21.120)
HostName 10.125.21.120
User svinogra
IdentityFile C:\Users\svinogra.ssh\id_rsa-remote-ssh
I did some investigation and tried to run the following command from the Windows command line:
C:\Users\svinogra>"C:\Program Files\Git\usr\bin\ssh.exe" -o ClearAllForwardings=true my_machine(21.120)
The text was updated successfully, but these errors were encountered: