Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Remote-SSH Bug]: #10017

Closed
3 tasks done
123swk123 opened this issue Jun 29, 2024 · 7 comments
Closed
3 tasks done

[Remote-SSH Bug]: #10017

123swk123 opened this issue Jun 29, 2024 · 7 comments
Assignees
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@123swk123
Copy link

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

recently I updated to 0.113.2024062415 and faced strange SSH remote connection issue with the error message 'could not resolve hostname test-ubuntu-1.local'

Local machine: win11 x64
Remote machine: Ubuntu 23.10 x64 (in my LAN)

I am able to reach that remote machine via other application (eg: Qtcreator, win11 builtin openSSH, msys openSSH)

after disabling this setting "remote.SSH.useExecServer" I am able to connect to the host machine.

But with this version 0.113.2024061415 & "remote.SSH.useExecServer": true it worked without any issues

Expected Behavior

No response

Steps To Reproduce

No response

Remote-SSH Log

Remote-SSH Log

There was none except for that one line 'could not resolve hostname .....'

Anything else?

No response

@123swk123 123swk123 added the ssh Issue in vscode-remote SSH label Jun 29, 2024
@roblourens
Copy link
Member

Please share the log from the Remote-SSH output channel

@roblourens roblourens assigned connor4312 and unassigned roblourens Jul 1, 2024
@connor4312
Copy link
Member

Hm, I don't see how this could be related to the exec server. It doesn't change how the SSH connection gets established.

@connor4312 connor4312 added the info-needed Issue requires more information from poster label Jul 1, 2024
@123swk123
Copy link
Author

Settings:

"remote.SSH.useLocalServer": true,
"remote.SSH.useExecServer": true,
"remote.SSH.enableRemoteCommand": true,
"remote.SSH.enableAgentForwarding": false,

SSH Log

[09:40:50.634] Log Level: 2
[09:40:50.636] VS Code version: 1.92.0-insider
[09:40:50.636] Remote-SSH version: remote-ssh@0.113.2024070816
[09:40:50.637] win32 x64
[09:40:50.638] SSH Resolver called for "ssh-remote+ubuntu-1", attempt 1
[09:40:50.638] "remote.SSH.useLocalServer": false
[09:40:50.638] "remote.SSH.useExecServer": true
[09:40:50.638] "remote.SSH.showLoginTerminal": false
[09:40:50.638] "remote.SSH.remotePlatform": {"test-fpga-local":"linux","test-fpga-virtual":"linux","test-avx512":"linux","test-ubuntu-avx512-local":"linux","ubuntu-avx512":"linux","test-fileserver":"linux","ubuntu-1":"linux"}
[09:40:50.638] "remote.SSH.path": undefined
[09:40:50.638] "remote.SSH.configFile": undefined
[09:40:50.638] "remote.SSH.useFlock": true
[09:40:50.638] "remote.SSH.lockfilesInTmp": false
[09:40:50.638] "remote.SSH.localServerDownload": auto
[09:40:50.638] "remote.SSH.remoteServerListenOnSocket": true
[09:40:50.638] "remote.SSH.showLoginTerminal": false
[09:40:50.639] "remote.SSH.defaultExtensions": ["ms-vscode.cpptools","ms-vscode.cmake-tools","twxs.cmake","ms-python.python","ms-python.vscode-pylance","Gruntfuggly.todo-tree","codezombiech.gitignore","formulahendry.code-runner","streetsidesoftware.code-spell-checker","rogalmic.bash-debug"]
[09:40:50.639] "remote.SSH.loglevel": 2
[09:40:50.639] "remote.SSH.enableDynamicForwarding": true
[09:40:50.639] "remote.SSH.enableRemoteCommand": true
[09:40:50.639] "remote.SSH.serverPickPortsFromRange": {}
[09:40:50.639] "remote.SSH.serverInstallPath": {}
[09:40:50.643] SSH Resolver called for host: ubuntu-1
[09:40:50.643] Setting up SSH remote "ubuntu-1"
[09:40:50.645] Using commit id "b7c13a78e93c2762972be705c032fe8295a87ddb" and quality "insider" for server
[09:40:50.648] Install and start server if needed
[09:40:50.649] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[09:40:50.651] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[09:40:50.651] Checking ssh with "C:\Windows\ssh.exe -V"
[09:40:50.652] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[09:40:50.652] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[09:40:50.652] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[09:40:50.652] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[09:40:50.653] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[09:40:50.653] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[09:40:50.670] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3

[09:40:50.673] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 53221 "ubuntu-1" bash
[09:40:50.674] Terminal shell path: C:\Windows\System32\cmd.exe
[09:40:51.065] > 33625ee9a920: running
> Found existing installation at /home/username/.vscode-server-insiders...
> Starting VS Code CLI... "/home/username/.vscode-server-insiders/code-insiders-b7c13a78e93c2762972be705c032fe8295a87ddb" command-shell --cli-data-dir "/home/username/.vscode-server-insiders/cli" --on-socket --parent-process-id 39046 &> "/home/username/.vscode-server-insiders/.cli.b7c13a78e93c2762972be705c032fe8295a87ddb.log" < /dev/null
> printenv:
>     SHELL=/bin/bash
>     PWD=/home/username
>     LOGNAME=username
>     XDG_SESSION_TYPE=tty
>     HOME=/home/username
>     LANG=en_US.UTF-8
>     VSCODE_AGENT_FOLDER=/home/username/.vscode-server-insiders
>     SSH_CONNECTION=fe80::1d94:9dc3:12f4:b4ab%enp214s0f1np1 53222 fe80::3196:5c22:e49a:c3ad%enp214s0f1np1 22
>     XDG_SESSION_CLASS=user
>     USER=username
>     SHLVL=1
>     XDG_SESSION_ID=9
>     XDG_RUNTIME_DIR=/run/user/1000
>     SSH_CLIENT=fe80::1d94:9dc3:12f4:b4ab%enp214s0f1np1 53222 22
>     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>     DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>     _=/usr/bin/printenv
> Removing old logfile at /home/username/.vscode-server-insiders/.cli.b7c13a78e93c2762972be705c032fe8295a87ddb.log
> Spawned remote CLI: 39065�]0;C:\Windows\System32\cmd.exe�
[09:40:51.065] Got some output, clearing connection timeout
[09:40:51.096] > Waiting for server log...
[09:40:51.111] > 33625ee9a920: start
> DISPLAY====
> listeningOn==/tmp/code-insiders-bee59afe-edf8-4e81-b928-191a6d7696d3==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==61==
> execServerToken==a11111a1-aa11-1111-aa11-1aa11a111a11==
> 33625ee9a920: end
[09:40:51.111] Received install output: 
DISPLAY====
listeningOn==/tmp/code-insiders-bee59afe-edf8-4e81-b928-191a6d7696d3==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==61==
execServerToken==a11111a1-aa11-1111-aa11-1aa11a111a11==

[09:40:51.111] Remote server is listening on socket /tmp/code-insiders-bee59afe-edf8-4e81-b928-191a6d7696d3
[09:40:51.111] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"socketPath":"/tmp/code-insiders-bee59afe-edf8-4e81-b928-191a6d7696d3"},"osReleaseId":"ubuntu","arch":"x86_64","display":"","tmpDir":"/run/user/1000","platform":"linux","execServerToken":"a11111a1-aa11-1111-aa11-1aa11a111a11"},"serverStartTime":61,"installUnpackCode":""}
[09:40:51.113] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -L 127.0.0.1:53223:/tmp/code-insiders-bee59afe-edf8-4e81-b928-191a6d7696d3 "ubuntu-1" bash
[09:40:51.113] Spawning tunnel with: type "D:\papps\vscode-insider-x64\data\tmp\vscode-linux-multi-line-command-ubuntu-1-458489641.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -L 127.0.0.1:53223:/tmp/code-insiders-bee59afe-edf8-4e81-b928-191a6d7696d3 "ubuntu-1" bash
[09:40:51.114] Terminal shell path: C:\Windows\System32\cmd.exe
[09:40:51.148] > 
[09:40:54.011] > ssh: Could not resolve hostname test-ubuntu-1.local: No such host is known.
> �]0;C:\Windows\System32\cmd.exe�
[09:40:55.260] "SSH Tunnel" terminal command done
[09:40:55.260] SSH tunnel command completed unexpectedly

@123swk123
Copy link
Author

I changed the setting remote.SSH.useExecServer to false and I am able to connect to same machine.

SSH Log

[09:47:23.343] Log Level: 2
[09:47:23.346] VS Code version: 1.92.0-insider
[09:47:23.346] Remote-SSH version: remote-ssh@0.113.2024070816
[09:47:23.346] win32 x64
[09:47:23.348] SSH Resolver called for "ssh-remote+ubuntu-1", attempt 1
[09:47:23.348] "remote.SSH.useLocalServer": false
[09:47:23.348] "remote.SSH.useExecServer": false
[09:47:23.348] "remote.SSH.showLoginTerminal": false
[09:47:23.348] "remote.SSH.remotePlatform": {"test-fpga-local":"linux","test-fpga-virtual":"linux","test-avx512":"linux","test-ubuntu-avx512-local":"linux","ubuntu-avx512":"linux","test-fileserver":"linux","ubuntu-1":"linux"}
[09:47:23.348] "remote.SSH.path": undefined
[09:47:23.348] "remote.SSH.configFile": undefined
[09:47:23.348] "remote.SSH.useFlock": true
[09:47:23.348] "remote.SSH.lockfilesInTmp": false
[09:47:23.348] "remote.SSH.localServerDownload": auto
[09:47:23.349] "remote.SSH.remoteServerListenOnSocket": true
[09:47:23.349] "remote.SSH.showLoginTerminal": false
[09:47:23.349] "remote.SSH.defaultExtensions": ["ms-vscode.cpptools","ms-vscode.cmake-tools","twxs.cmake","ms-python.python","ms-python.vscode-pylance","Gruntfuggly.todo-tree","codezombiech.gitignore","formulahendry.code-runner","streetsidesoftware.code-spell-checker","rogalmic.bash-debug"]
[09:47:23.349] "remote.SSH.loglevel": 2
[09:47:23.349] "remote.SSH.enableDynamicForwarding": true
[09:47:23.349] "remote.SSH.enableRemoteCommand": true
[09:47:23.349] "remote.SSH.serverPickPortsFromRange": {}
[09:47:23.349] "remote.SSH.serverInstallPath": {}
[09:47:23.355] SSH Resolver called for host: ubuntu-1
[09:47:23.355] Setting up SSH remote "ubuntu-1"
[09:47:23.357] Using commit id "b7c13a78e93c2762972be705c032fe8295a87ddb" and quality "insider" for server
[09:47:23.360] Install and start server if needed
[09:47:23.363] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[09:47:23.364] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[09:47:23.364] Checking ssh with "C:\Windows\ssh.exe -V"
[09:47:23.365] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[09:47:23.365] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[09:47:23.366] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[09:47:23.366] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[09:47:23.366] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[09:47:23.367] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[09:47:23.384] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3

[09:47:23.387] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 53271 "ubuntu-1" bash
[09:47:23.388] Terminal shell path: C:\Windows\System32\cmd.exe
[09:47:23.770] > 85c27ff0a2d1: running
> �]0;C:\Windows\System32\cmd.exe�
[09:47:23.770] Got some output, clearing connection timeout
[09:47:23.798] > Acquiring lock on /home/username/.vscode-server-insiders/bin/b7c13a78e93c2762972be705c032fe8295a87ddb/vscode-remote-lock.username.b7c13a78e93c2762972be705c032fe8295a87ddb
> Installing to /home/username/.vscode-server-insiders/bin/b7c13a78e93c2762972be705c032fe8295a87ddb...
> 85c27ff0a2d1%%1%%
> Downloading with wget
[09:47:26.210] > Download complete
> 85c27ff0a2d1%%2%%
> tar --version:
> tar (GNU tar) 1.35
> Copyright (C) 2023 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.Written by John Gilmore and Jay Fenlason.
> 
[09:47:26.904] > Checking /home/username/.vscode-server-insiders/.b7c13a78e93c2762972be705c032fe8295a87ddb.log and /home/username/.vscode-server-insiders/.b7c13a78e93c2762972be705c032fe8295a87ddb.pid for a running server
[09:47:26.937] > Starting VS Code Server... "/home/username/.vscode-server-insiders/bin/b7c13a78e93c2762972be705c032fe8295a87ddb/bin/code-server-insiders" --start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown  --telemetry-level off --socket-path=/run/user/1000/vscode-ssh-remote-server-sock-1720486044 --install-extension ms-vscode.cpptools --install-extension ms-vscode.cmake-tools --install-extension twxs.cmake --install-extension ms-python.python --install-extension ms-python.vscode-pylance --install-extension Gruntfuggly.todo-tree --install-extension codezombiech.gitignore --install-extension formulahendry.code-runner --install-extension streetsidesoftware.code-spell-checker --install-e
> extension rogalmic.bash-debug &> "/home/username/.vscode-server-insiders/.b7c1
> 13a78e93c2762972be705c032fe8295a87ddb.log" < /dev/null
> The VS Code Server log file is /home/username/.vscode-server-insiders/.b7c13a
> a78e93c2762972be705c032fe8295a87ddb.log
> printenv:
>     SHELL=/bin/bash
>     PWD=/home/username
>     LOGNAME=username
>     XDG_SESSION_TYPE=tty
>     HOME=/home/username
>     LANG=en_US.UTF-8
>     VSCODE_AGENT_FOLDER=/home/username/.vscode-server-insiders
>     SSH_CONNECTION=fe80::1d94:9dc3:12f4:b4ab%enp214s0f1np1 53272 fe80::3196:5c22
> 2:e49a:c3ad%enp214s0f1np1 22
>     XDG_SESSION_CLASS=user
>     USER=username
>     SHLVL=1
>     XDG_SESSION_ID=10
>     XDG_RUNTIME_DIR=/run/user/1000
>     SSH_CLIENT=fe80::1d94:9dc3:12f4:b4ab%enp214s0f1np1 53272 22
>     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> s:/usr/local/games:/snap/bin
>     DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>     _=/usr/bin/printenv
>     OLDPWD=/home/username/.vscode-server-insiders/bin/b7c13a78e93c2762972be70
> 05c032fe8295a87ddb
> rm: cannot remove '/home/username/.vscode-server-insiders/.b7c13a78e93c276297
> 72be705c032fe8295a87ddb.token': No such file or directory
> Spawned remote server: 39423
[09:47:26.952] > 
> Waiting for server log...
[09:47:26.959] > 
[09:47:26.989] >  
> *
> * Visual Studio Code Server
> *
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-lice
> ense) and
> * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacyst
> tatement).
> *
> 
> 85c27ff0a2d1: start
> DISPLAY====
> webUiAccessToken====
> listeningOn==/run/user/1000/vscode-ssh-remote-server-sock-1720486044==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult==success==
> didLocalDownload==0==
> downloadTime==2397==
> installTime==712==
> extInstallTime====
> serverStartTime==37==
> connectionToken==a111a1a1-11a1-111a-111a-aa11a1a11111==
> 85c27ff0a2d1: end
[09:47:26.989] Received install output: 
DISPLAY====
webUiAccessToken====
listeningOn==/run/user/1000/vscode-ssh-remote-server-sock-1720486044==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==2397==
installTime==712==
extInstallTime====
serverStartTime==37==
connectionToken==a111a1a1-11a1-111a-111a-aa11a1a11111==

[09:47:26.989] Remote server is listening on socket /run/user/1000/vscode-ssh-remote-server-sock-1720486044
[09:47:26.989] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"socketPath":"/run/user/1000/vscode-ssh-remote-server-sock-1720486044"},"osReleaseId":"ubuntu","arch":"x86_64","webUiAccessToken":"","display":"","tmpDir":"/run/user/1000","platform":"linux","connectionToken":"a111a1a1-11a1-111a-111a-aa11a1a11111"},"downloadTime":2397,"installTime":712,"serverStartTime":37,"installUnpackCode":"success"}
[09:47:26.992] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -L 127.0.0.1:53273:/run/user/1000/vscode-ssh-remote-server-sock-1720486044 "ubuntu-1" bash
[09:47:26.992] Spawning tunnel with: type "D:\papps\vscode-insider-x64\data\tmp\vscode-linux-multi-line-command-ubuntu-1-742014494.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -L 127.0.0.1:53273:/run/user/1000/vscode-ssh-remote-server-sock-1720486044 "ubuntu-1" bash
[09:47:26.993] Terminal shell path: C:\Windows\System32\cmd.exe
[09:47:26.996] > 
[09:47:27.362] > Connected to SSH Host - Please do not close this terminal
> �]0;C:\Windows\System32\cmd.exe�
[09:47:27.362] Spawned SSH tunnel between local port 53273 and remote target socket /run/user/1000/vscode-ssh-remote-server-sock-1720486044
[09:47:27.362] Waiting for ssh tunnel to be ready
[09:47:27.363] Tunneled socket /run/user/1000/vscode-ssh-remote-server-sock-1720486044 to local port 53273
[09:47:27.364] Resolved "ssh-remote+ubuntu-1" to "port 53273"
[09:47:27.366] ------




[09:47:28.746] Opening exec server for ssh-remote+ubuntu-1
[09:47:28.752] Initizing new exec server for ssh-remote+ubuntu-1
[09:47:28.765] Using commit id "b7c13a78e93c2762972be705c032fe8295a87ddb" and quality "insider" for server
[09:47:28.767] Install and start server if needed
[09:47:28.810] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 53287 "ubuntu-1" bash
[09:47:28.811] Terminal shell path: C:\Windows\System32\cmd.exe
[09:47:29.226] > 924a9ab840a9: running
> Found existing installation at /home/username/.vscode-server-insiders...
> Starting VS Code CLI... "/home/username/.vscode-server-insiders/code-insiders-b7c13a78e93c2762972be705c032fe8295a87ddb" command-shell --cli-data-dir "/home/username/.vscode-server-insiders/cli" --on-socket --parent-process-id 40472 &> "/home/username/.vscode-server-insiders/.cli.b7c13a78e93c2762972be705c032fe8295a87ddb.log" < /dev/null
> printenv:
>     SHELL=/bin/bash
>     PWD=/home/username
>     LOGNAME=username
>     XDG_SESSION_TYPE=tty
>     HOME=/home/username
>     LANG=en_US.UTF-8
>     VSCODE_AGENT_FOLDER=/home/username/.vscode-server-insiders
>     SSH_CONNECTION=fe80::1d94:9dc3:12f4:b4ab%enp214s0f1np1 53288 fe80::3196:5c22:e49a:c3ad%enp214s0f1np1 22
>     XDG_SESSION_CLASS=user
>     USER=username
>     SHLVL=1
>     XDG_SESSION_ID=12
>     XDG_RUNTIME_DIR=/run/user/1000
>     SSH_CLIENT=fe80::1d94:9dc3:12f4:b4ab%enp214s0f1np1 53288 22
>     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>     DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>     _=/usr/bin/printenv
> Removing old logfile at /home/username/.vscode-server-insiders/.cli.b7c13a78e93c2762972be705c032fe8295a87ddb.log
> Spawned remote CLI: 40528�]0;C:\Windows\System32\cmd.exe�
[09:47:29.226] Got some output, clearing connection timeout
[09:47:29.252] > 
[09:47:29.276] > Waiting for server log...
[09:47:29.289] > 924a9ab840a9: start
> DISPLAY====
> listeningOn==/tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==62==
> execServerToken==1111a11a-a11a-1a11-a111-a1aa11111111==
> 924a9ab840a9: end
[09:47:29.289] Received install output: 
DISPLAY====
listeningOn==/tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==62==
execServerToken==1111a11a-a11a-1a11-a111-a1aa11111111==

[09:47:29.289] Remote server is listening on socket /tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a
[09:47:29.289] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"socketPath":"/tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a"},"osReleaseId":"ubuntu","arch":"x86_64","display":"","tmpDir":"/run/user/1000","platform":"linux","execServerToken":"1111a11a-a11a-1a11-a111-a1aa11111111"},"serverStartTime":62,"installUnpackCode":""}
[09:47:29.292] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -L 127.0.0.1:53289:/tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a "ubuntu-1" bash
[09:47:29.293] Spawning tunnel with: type "D:\papps\vscode-insider-x64\data\tmp\vscode-linux-multi-line-command-ubuntu-1-931913749.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -L 127.0.0.1:53289:/tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a "ubuntu-1" bash
[09:47:29.293] Terminal shell path: C:\Windows\System32\cmd.exe
[09:47:29.353] > 
[09:47:29.760] > Connected to SSH Host - Please do not close this terminal
> �]0;C:\Windows\System32\cmd.exe�
[09:47:29.760] Spawned SSH tunnel between local port 53289 and remote target socket /tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a
[09:47:29.761] Waiting for ssh tunnel to be ready
[09:47:29.762] Tunneled socket /tmp/code-insiders-5377f2e6-5fc0-48d0-9b0d-2cb2a335b84a to local port 53289
[09:47:29.762] Resolved "ssh-remote+ubuntu-1" to "port 53289"
[09:47:29.762] Resolving exec server at port 53289
[09:47:29.785] Exec server for ssh-remote+ubuntu-1 created and cached
[09:47:29.787] Opening exec server for ssh-remote+ubuntu-1
[09:47:29.789] Verified and reusing cached exec server for ssh-remote+ubuntu-1

@123swk123 123swk123 mentioned this issue Jul 10, 2024
3 tasks
@connor4312
Copy link
Member

Can you share your SSH configuration file? Feel free to redact IPs etc. as needed

Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2024
@123swk123
Copy link
Author

here is my config file after redaction

# Read more about SSH config files: https://linux.die.net/man/5/ssh_config
Host github-ns
    HostName github.com
    User git
    IdentitiesOnly yes
    IdentityFile C:\Users\user1\.ssh\github-ns\id_rsa

Host github-ndj
    HostName github.com
    User git
    IdentitiesOnly yes
    IdentityFile C:\Users\user1\.ssh\github-ndj\id_ed25519

Host github-nidrive
    HostName github.com
    User git
    IdentitiesOnly yes
    IdentityFile C:\Users\user1\.ssh\github-ndj\id_ed25519

Host gc-fl
    HostName a.b.c.d
    User projects
    IdentitiesOnly yes
    IdentityFile C:\Users\user1\.ssh\github-ndj\id_ed25519
    ForwardX11 yes
    ForwardX11Trusted yes
    LocalForward 0.0.0.0:27017 127.0.0.1:27017
    LocalForward 0.0.0.0:8080 127.0.0.1:8080
    LocalForward 0.0.0.0:8081 127.0.0.1:8081
    
Host ubuntu-1
    HostName k-ub-1.local
    User user1
    ForwardX11 yes
    ForwardX11Trusted yes
    RemoteForward 127.0.0.1:27017 127.0.0.1:27017

Host k-fpga-local
    HostName k-ub-fpga.local
    User user1
    ForwardX11Trusted yes

Host k-ub-avx512-local
    HostName k-ub-avx512.local
    User user1
    ForwardX11Trusted yes

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

4 participants
@roblourens @123swk123 @connor4312 and others