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

SSH Connection Timeout after moving to a new location #10580

Open
juanjgacosta opened this issue Dec 19, 2024 · 2 comments
Open

SSH Connection Timeout after moving to a new location #10580

juanjgacosta opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@juanjgacosta
Copy link

I'm experiencing an issue with the VS Code Remote SSH extension when connecting to a differents UTM Virtual Machines (Windows 11, debian 12). The SSH connection times out in VS Code after a few seconds. This issue occurs only when I use VSCode on a local Wi-Fi network after changing countries, but:

  1. Is resolved when using a router configured as an access point (AP) with the same SSID and password as the original network, or
  2. Does not occur when I connect directly from the macOS terminal.

The problem with the first solution is that I lose 90% of connection speed and with the second one I can't use vscode as an IDE.

Below is the log output from VS Code with UTM Windows VM:

23:28:02.138] askpass server listening on /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-176ec28f7ca68cb77bb1e0277447b1a1f4f6a686.sock
[23:28:02.138] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-753327bd91ba2e36e4a2ee01b135874c27c77fb8.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","49963","-o","ConnectTimeout=15","[email protected]"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e396b1f8-b1c0a14de1414fcdaa400695b4db1c0799bc3124-0.113.1-es/data.json"}
[23:28:02.139] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.qa7Nqrbtnp/Listeners","SHELL":"/bin/bash","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-176ec28f7ca68cb77bb1e0277447b1a1f4f6a686.sock"}
[23:28:02.139] Spawned 36775
[23:28:02.206] > local-server-1> Running ssh connection command: ssh -v -T -D 49963 -o ConnectTimeout=15 [email protected]
[23:28:02.207] > local-server-1> Spawned ssh, pid=36783
[23:28:02.213] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[23:28:02.214] stderr> ssh: connect to host 192.168.1.16 port 22: Host is down
[23:28:02.214] > local-server-1> ssh child died, shutting down
[23:28:02.217] Local server exit: 0
[23:28:02.217] Received install output: local-server-1> Running ssh connection command: ssh -v -T -D 49963 -o ConnectTimeout=15 [email protected]
local-server-1> Spawned ssh, pid=36783
OpenSSH_9.8p1, LibreSSL 3.3.6
ssh: connect to host 192.168.1.16 port 22: Host is down
local-server-1> ssh child died, shutting down

[23:28:02.217] Failed to parse remote port from server output
[23:28:02.218] Resolver error: Error:
at m.Create (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:501230)
at t.handleInstallOutput (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:498552)
at e (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:560378)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:582435
at async t.withShowDetailsEvent (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:586054)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:557083
at async T (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:555134)
at async t.resolveWithLocalServer (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:556623)
at async k (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:579574)
at async t.resolve (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:583465)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:851126
[23:28:02.220] ------

And below is the log output from VS Code with UTM Debian VM:

[00:19:37.238] Log Level: 2
[00:19:37.240] VS Code version: 1.92.0
[00:19:37.240] Remote-SSH version: [email protected]
[00:19:37.240] darwin arm64
[00:19:37.247] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d", attempt 1
[00:19:37.247] "remote.SSH.useLocalServer": true
[00:19:37.247] "remote.SSH.useExecServer": true
[00:19:37.247] "remote.SSH.path": undefined
[00:19:37.247] "remote.SSH.configFile": undefined
[00:19:37.247] "remote.SSH.useFlock": true
[00:19:37.248] "remote.SSH.lockfilesInTmp": false
[00:19:37.248] "remote.SSH.localServerDownload": auto
[00:19:37.248] "remote.SSH.remoteServerListenOnSocket": false
[00:19:37.248] "remote.SSH.showLoginTerminal": false
[00:19:37.248] "remote.SSH.defaultExtensions": []
[00:19:37.248] "remote.SSH.loglevel": 2
[00:19:37.248] "remote.SSH.enableDynamicForwarding": true
[00:19:37.248] "remote.SSH.enableRemoteCommand": false
[00:19:37.248] "remote.SSH.serverPickPortsFromRange": {}
[00:19:37.248] "remote.SSH.serverInstallPath": {}
[00:19:37.248] "remote.SSH.permitPtyAllocation": false
[00:19:37.248] "remote.SSH.preferredLocalPortRange: undefined
[00:19:37.248] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[00:19:37.252] SSH Resolver called for host: [email protected]
[00:19:37.252] Setting up SSH remote "192.168.1.17"
[00:19:37.253] Acquiring local install lock: /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-remote-ssh-c11ea22e-install.lock
[00:19:37.254] Looking for existing server data file at /Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c11ea22e-b1c0a14de1414fcdaa400695b4db1c0799bc3124-0.113.1-es/data.json
[00:19:37.254] Found local server running: {"remoteListeningOn":{"port":38065},"osReleaseId":"debian","arch":"aarch64","sshAuthSock":"","display":"","tmpDir":"/run/user/1000","platform":"linux","execServerToken":"10370d5d-dcc9-43f9-896e-3bfe3e09140d","pid":82463,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-0e5c7f3a7ceb329338deac055af2424c7c7a6f81.sock","socksPort":53964,"startupTime":1734585550545}
[00:19:37.261] Found running server - short-circuiting install
[00:19:37.264] Starting forwarding server. local port 53975 -> socksPort 53964 -> remotePort 38065
[00:19:37.264] Forwarding server listening on port 53975
[00:19:37.264] Waiting for ssh tunnel to be ready
[00:19:37.265] Tunneled port 38065 to local port 53975
[00:19:37.265] Resolved "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d" to "port 53975"
[00:19:37.270] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:19:37.270] Resolving exec server at port 53975
[00:19:37.282] [Forwarding server port 53975] Got connection 0
[00:19:37.283] [Forwarding server port 53975] Got connection 1
[00:19:37.325] Exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d created and cached
[00:19:37.327] ------

[00:19:37.369] [server] Checking /home/juand_/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/log.txt and /home/juand_/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/pid.txt for a running server...
[00:19:37.415] [server] Found running server (pid=6632)
[00:19:38.355] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:19:38.361] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:19:38.373] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:19:38.373] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:19:38.382] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:19:38.387] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[00:20:02.435] Exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d closed (gracefully)
[00:20:02.442] ------

[00:20:02.442] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d", attempt 2, (Reconnection)
[00:20:02.445] SSH Resolver called for host: [email protected]
[00:20:02.445] Setting up SSH remote "192.168.1.17"
[00:20:02.447] Acquiring local install lock: /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-remote-ssh-c11ea22e-install.lock
[00:20:02.447] Looking for existing server data file at /Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c11ea22e-b1c0a14de1414fcdaa400695b4db1c0799bc3124-0.113.1-es/data.json
[00:20:02.448] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[00:20:02.455] Install and start server if needed
[00:20:02.458] PATH: /Users/juan/.pyenv/shims:/Applications/ArmGNUToolchain/12.3.rel1/arm-none-eabi/bin:/Users/juan/.nvm/versions/node/v18.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
[00:20:02.458] Checking ssh with "ssh -V"
[00:20:02.467] > OpenSSH_9.8p1, LibreSSL 3.3.6

[00:20:02.469] askpass server listening on /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-8c53bba9c64111648373eed5af902319e5a70067.sock
[00:20:02.469] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-465bfafe6e72549604e7a99d78b8edc55cf28848.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","53980","-o","ConnectTimeout=15","[email protected]"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c11ea22e-b1c0a14de1414fcdaa400695b4db1c0799bc3124-0.113.1-es/data.json"}
[00:20:02.469] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.qa7Nqrbtnp/Listeners","SHELL":"/bin/bash","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-8c53bba9c64111648373eed5af902319e5a70067.sock"}
[00:20:02.470] Spawned 83261
[00:20:02.545] > local-server-1> Running ssh connection command: ssh -v -T -D 53980 -o ConnectTimeout=15 [email protected]
[00:20:02.546] > local-server-1> Spawned ssh, pid=83269
[00:20:02.551] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[00:20:02.552] stderr> ssh: connect to host 192.168.1.17 port 22: Host is down
[00:20:02.553] > local-server-1> ssh child died, shutting down
[00:20:02.555] Local server exit: 0
[00:20:02.555] Received install output: local-server-1> Running ssh connection command: ssh -v -T -D 53980 -o ConnectTimeout=15 [email protected]
local-server-1> Spawned ssh, pid=83269
OpenSSH_9.8p1, LibreSSL 3.3.6
ssh: connect to host 192.168.1.17 port 22: Host is down
local-server-1> ssh child died, shutting down

[00:20:02.555] Failed to parse remote port from server output
[00:20:02.555] Resolver error: Error:
at m.Create (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:501230)
at t.handleInstallOutput (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:498552)
at e (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:560378)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:582435
at async t.withShowDetailsEvent (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:586054)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:557083
at async T (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:555134)
at async t.resolveWithLocalServer (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:556623)
at async k (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:579574)
at async t.resolve (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:583465)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:851126
[00:20:02.557] ------

@vs-code-engineering vs-code-engineering bot added the ssh Issue in vscode-remote SSH label Dec 19, 2024
@mo7cc
Copy link

mo7cc commented Dec 23, 2024

你好,我也遇到了同样的问题,不过已经解决了。
彻底卸载 VSCode 包括本地缓存以及配置文件,并从官网下载最新版本的 VSCode 即可解决~

@juanjgacosta
Copy link
Author

Thanks for the tip @mo7cc, I deleted vscode config and cache files, and updated to vscode v1.96.2 and remote-ssh v0.116.1, but unfortunately the problem still persists, albeit with different behavior. Every time the connection drops (every 1 - 2 min), vscode asks to reload the window and enter the remote device password.

Below is the log output from VS Code with UTM Windows VM:

[01:37:55.730] Log Level: 2
[01:37:55.734] VS Code version: 1.96.2
[01:37:55.734] Remote-SSH version: [email protected]
[01:37:55.734] darwin arm64
[01:37:55.755] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d", attempt 1
[01:37:55.756] remote.SSH.useLocalServer = true
[01:37:55.757] remote.SSH.useExecServer = true
[01:37:55.757] remote.SSH.path = undefined
[01:37:55.757] remote.SSH.configFile = undefined
[01:37:55.757] remote.SSH.useFlock = true
[01:37:55.757] remote.SSH.lockfilesInTmp = false
[01:37:55.757] remote.SSH.localServerDownload = auto
[01:37:55.757] remote.SSH.remoteServerListenOnSocket = false
[01:37:55.757] remote.SSH.defaultExtensions = []
[01:37:55.757] remote.SSH.loglevel = 2
[01:37:55.757] remote.SSH.enableDynamicForwarding = true
[01:37:55.757] remote.SSH.enableRemoteCommand = false
[01:37:55.757] remote.SSH.serverPickPortsFromRange = {}
[01:37:55.757] remote.SSH.serverInstallPath = {}
[01:37:55.757] remote.SSH.permitPtyAllocation = false
[01:37:55.757] remote.SSH.preferredLocalPortRange = undefined
[01:37:55.757] remote.SSH.useCurlAndWgetConfigurationFiles = false
[01:37:55.757] remote.SSH.experimental.chat = false
[01:37:55.757] remote.SSH.experimental.enhancedSessionLogs = false
[01:37:55.764] SSH Resolver called for host: [email protected]
[01:37:55.764] Setting up SSH remote "192.168.1.16"
[01:37:55.767] Acquiring local install lock: /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-remote-ssh-e396b1f8-install.lock
[01:37:55.769] Looking for existing server data file at /Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e396b1f8-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-0.116.1-es/data.json
[01:37:55.769] Found existing data file
[01:37:55.769] Found local server running: {"remoteListeningOn":{"port":49706},"osReleaseId":"windows","arch":"arm64","sshAuthSock":"","platform":"windows","execServerToken":"508f6a40-a0cd-45e7-91c4-7e5c580e90ff","pid":10658,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-ed74757530ffd8a098c5cde6c2463dab3df2a13b.sock","socksPort":49526,"startupTime":1735022251145}
[01:37:55.775] Found running server - short-circuiting install
[01:37:55.778] Starting forwarding server. local port 49534 -> socksPort 49526 -> remotePort 49706
[01:37:55.778] Forwarding server listening on port 49534
[01:37:55.778] Waiting for ssh tunnel to be ready
[01:37:55.779] [Forwarding server port 49534] Got connection 0
[01:37:55.779] Tunneled port 49706 to local port 49534
[01:37:55.780] Resolved "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d" to "port 49534"
[01:37:55.783] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:55.783] Resolving exec server at port 49534
[01:37:55.785] [Forwarding server port 49534] Got connection 1
[01:37:55.799] Exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d created and cached
[01:37:55.802] ------

[01:37:55.802] No hints found in the recent session.
[01:37:55.838] [server] Checking C:\Users\juanw_.vscode-server\cli\servers\Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f\log.txt and C:\Users\juanw_.vscode-server\cli\servers\Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f\pid.txt for a running server...
[01:37:55.838] [server] Found running server (pid=6884)
[01:37:58.049] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.057] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.065] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.065] No hints found in the recent session.
[01:37:58.065] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.066] No hints found in the recent session.
[01:37:58.072] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.072] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.079] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.079] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d
[01:37:58.079] No hints found in the recent session.
[01:37:58.085] No hints found in the recent session.
[01:39:35.873] Exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d closed (gracefully)
[01:39:35.908] ------

[01:39:35.909] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3136222c2275736572223a226a75616e775f227d", attempt 2, (Reconnection)
[01:39:35.911] SSH Resolver called for host: [email protected]
[01:39:35.911] Setting up SSH remote "192.168.1.16"
[01:39:35.912] Acquiring local install lock: /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-remote-ssh-e396b1f8-install.lock
[01:39:35.912] Looking for existing server data file at /Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e396b1f8-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-0.116.1-es/data.json
[01:39:35.912] No existing data file
[01:39:35.913] Using commit id "fabdb6a30b49f79a7aba0f2ad9df9b399473380f" and quality "stable" for server
[01:39:35.915] Script variables:
{
"ExitCode.0": "OK",
"ExitCode.64": "LinuxPrereqs",
"ExitCode.65": "ProxyAuthenticationRequired",
"ExitCode.128": "UnparsableOutput",
"ExitCode.129": "EmptyOutput",
"ExitCode.131": "UnhandledResolverExitCode",
"ExitCode.132": "OfflineError",
"ExitCode.133": "SshInstall",
"ExitCode.134": "FindLocalPort",
"ExitCode.135": "Timeout",
"ExitCode.136": "ExhaustedRetries",
"ExitCode.137": "PermissionDenied",
"ExitCode.138": "MitmPortForwardingDisabled",
"ExitCode.139": "Canceled",
"ExitCode.140": "BadLocalDownloadRequest",
"ExitCode.141": "LocalDownloadFailed",
"ExitCode.142": "LocalLockTimeout",
"ExitCode.143": "NoBash",
"ExitCode.144": "InvalidHostName",
"ExitCode.145": "BadInstallScriptResult",
"ExitCode.146": "ShellRequestFailedOnChannel",
"ExitCode.147": "InvalidPortRange",
"ExitCode.148": "SendDisconnectBrokenPipe",
"ExitCode.149": "LocalServerCrashed",
"ExitCode.150": "NoFreePortInRange",
"ExitCode.151": "InvalidCustomServerPath",
"ExitCode.192": "AlreadyInProgress",
"ExitCode.193": "ServerDownloadFailed",
"ExitCode.194": "NoDownloaderAvailable",
"ExitCode.195": "NoDownloaderAvailableForStatusCheck",
"ExitCode.196": "UnsupportedArch",
"ExitCode.197": "StatusCheckFailed",
"ExitCode.198": "NeedInsidersArch",
"ExitCode.199": "ServerTransferFailed",
"ExitCode.200": "ServerFailedToStart",
"ExitCode.201": "NeedInsidersWindows",
"ExitCode.202": "CreateInstallDirFailed",
"ExitCode.203": "UnsupportedPlatform",
"ExitCode.204": "ServerTerminatedCVE20201416",
"ExitCode.205": "UnpackFailed",
"ExitCode.206": "ChangeDirFailed",
"ExitCode.1023": "UnclassifiedError",
"ExitCode.OK": "0",
"ExitCode.LinuxPrereqs": "64",
"ExitCode.ProxyAuthenticationRequired": "65",
"ExitCode.UnparsableOutput": "128",
"ExitCode.EmptyOutput": "129",
"ExitCode.UnhandledResolverExitCode": "131",
"ExitCode.OfflineError": "132",
"ExitCode.SshInstall": "133",
"ExitCode.FindLocalPort": "134",
"ExitCode.Timeout": "135",
"ExitCode.ExhaustedRetries": "136",
"ExitCode.PermissionDenied": "137",
"ExitCode.MitmPortForwardingDisabled": "138",
"ExitCode.Canceled": "139",
"ExitCode.BadLocalDownloadRequest": "140",
"ExitCode.LocalDownloadFailed": "141",
"ExitCode.LocalLockTimeout": "142",
"ExitCode.NoBash": "143",
"ExitCode.InvalidHostName": "144",
"ExitCode.BadInstallScriptResult": "145",
"ExitCode.ShellRequestFailedOnChannel": "146",
"ExitCode.InvalidPortRange": "147",
"ExitCode.SendDisconnectBrokenPipe": "148",
"ExitCode.LocalServerCrashed": "149",
"ExitCode.NoFreePortInRange": "150",
"ExitCode.InvalidCustomServerPath": "151",
"ExitCode.AlreadyInProgress": "192",
"ExitCode.ServerDownloadFailed": "193",
"ExitCode.NoDownloaderAvailable": "194",
"ExitCode.NoDownloaderAvailableForStatusCheck": "195",
"ExitCode.UnsupportedArch": "196",
"ExitCode.StatusCheckFailed": "197",
"ExitCode.NeedInsidersArch": "198",
"ExitCode.ServerTransferFailed": "199",
"ExitCode.ServerFailedToStart": "200",
"ExitCode.NeedInsidersWindows": "201",
"ExitCode.CreateInstallDirFailed": "202",
"ExitCode.UnsupportedPlatform": "203",
"ExitCode.ServerTerminatedCVE20201416": "204",
"ExitCode.UnpackFailed": "205",
"ExitCode.ChangeDirFailed": "206",
"ExitCode.UnclassifiedError": "1023",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "5733ad555ac4",
"startMarker": "5733ad555ac4: running",
"commitId": "fabdb6a30b49f79a7aba0f2ad9df9b399473380f",
"quality": "stable",
"token": "a11a11a1-1111-111a-11a1-1a111a111a11",
"vscodeAgentFolder": "$HOME/.vscode-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "5733ad555ac4:trigger_server_download",
"getDownloadServerEndTrigger": "5733ad555ac4:trigger_server_download_end",
"getProgressDownloading": "5733ad555ac4%%1%%",
"getProgressInstalling": "5733ad555ac4%%2%%",
"printVars": "echo "SSH_AUTH_SOCK==$SSH_AUTH_SOCK=="\necho "DISPLAY==$DISPLAY==""
}
[01:39:35.918] Install and start server if needed
[01:39:35.921] PATH: /Users/juan/.pyenv/shims:/Applications/ArmGNUToolchain/12.3.rel1/arm-none-eabi/bin:/Users/juan/.nvm/versions/node/v18.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
[01:39:35.921] Checking ssh with "ssh -V"
[01:39:35.928] > OpenSSH_9.8p1, LibreSSL 3.3.6

[01:39:35.929] askpass server listening on /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-219bbb773ab4c73d45a9ea9e11177f25580110bb.sock
[01:39:35.930] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-d76ec23d8e781c6c5e6a15a4982f49d002e90b6e.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","49540","-o","ConnectTimeout=15","[email protected]"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e396b1f8-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-0.116.1-es/data.json"}
[01:39:35.930] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.fHudZxmH1i/Listeners","SHELL":"/bin/bash","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-219bbb773ab4c73d45a9ea9e11177f25580110bb.sock"}
[01:39:35.930] Spawned 11116
[01:39:35.931] Using connect timeout of 17 seconds
[01:39:35.999] > local-server-1> Running ssh connection command: ssh -v -T -D 49540 -o ConnectTimeout=15 [email protected]
[01:39:36.000] > local-server-1> Spawned ssh, pid=11124
[01:39:36.004] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[01:39:36.005] stderr> ssh: connect to host 192.168.1.16 port 22: Host is down
[01:39:36.005] > local-server-1> ssh child died, shutting down
[01:39:36.007] Local server exit: 0
[01:39:36.008] Received install output: local-server-1> Running ssh connection command: ssh -v -T -D 49540 -o ConnectTimeout=15 [email protected]
local-server-1> Spawned ssh, pid=11124
OpenSSH_9.8p1, LibreSSL 3.3.6
ssh: connect to host 192.168.1.16 port 22: Host is down
local-server-1> ssh child died, shutting down

[01:39:36.008] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped.
[01:39:36.008] Failed to parse remote port from server output
[01:39:36.010] Resolver error: Error:
at v.Create (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:696499)
at t.handleInstallOutput (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:694580)
at e (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:748527)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:770991
at async t.withShowDetailsEvent (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:774668)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:745239
at async P (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:743294)
at async t.resolveWithLocalServer (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:744791)
at async x (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:767986)
at async t.resolve (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:772083)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:1055245
[01:39:36.011] ------

################################################
And below is the log output from VS Code with UTM Debian VM:

[01:31:43.780] Log Level: 2
[01:31:43.784] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d", attempt 1
[01:31:43.786] remote.SSH.useLocalServer = true
[01:31:43.786] remote.SSH.useExecServer = true
[01:31:43.786] remote.SSH.path = undefined
[01:31:43.786] remote.SSH.configFile = undefined
[01:31:43.786] remote.SSH.useFlock = true
[01:31:43.786] remote.SSH.lockfilesInTmp = false
[01:31:43.786] remote.SSH.localServerDownload = auto
[01:31:43.786] remote.SSH.remoteServerListenOnSocket = false
[01:31:43.786] remote.SSH.defaultExtensions = []
[01:31:43.786] remote.SSH.loglevel = 2
[01:31:43.786] remote.SSH.enableDynamicForwarding = true
[01:31:43.786] remote.SSH.enableRemoteCommand = false
[01:31:43.786] remote.SSH.serverPickPortsFromRange = {}
[01:31:43.786] remote.SSH.serverInstallPath = {}
[01:31:43.786] remote.SSH.permitPtyAllocation = false
[01:31:43.786] remote.SSH.preferredLocalPortRange = undefined
[01:31:43.786] remote.SSH.useCurlAndWgetConfigurationFiles = false
[01:31:43.786] remote.SSH.experimental.chat = false
[01:31:43.786] remote.SSH.experimental.enhancedSessionLogs = false
[01:31:43.789] VS Code version: 1.96.2
[01:31:43.789] Remote-SSH version: [email protected]
[01:31:43.789] darwin arm64
[01:31:43.795] SSH Resolver called for host: [email protected]
[01:31:43.795] Setting up SSH remote "192.168.1.17"
[01:31:43.798] Acquiring local install lock: /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-remote-ssh-c11ea22e-install.lock
[01:31:43.798] Looking for existing server data file at /Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c11ea22e-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-0.116.1-es/data.json
[01:31:43.798] Found existing data file
[01:31:43.799] Found local server running: {"remoteListeningOn":{"port":45469},"osReleaseId":"debian","arch":"aarch64","sshAuthSock":"","display":"","tmpDir":"/run/user/1000","platform":"linux","execServerToken":"81a21ee8-abec-4a00-a5f8-01ebc2b573d1","pid":9405,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-752d5e26b0fa765221fc4d01d34f8d842586c565.sock","socksPort":49477,"startupTime":1735021866669}
[01:31:43.805] Found running server - short-circuiting install
[01:31:43.808] Starting forwarding server. local port 49489 -> socksPort 49477 -> remotePort 45469
[01:31:43.808] Forwarding server listening on port 49489
[01:31:43.808] Waiting for ssh tunnel to be ready
[01:31:43.809] Tunneled port 45469 to local port 49489
[01:31:43.809] Resolved "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d" to "port 49489"
[01:31:43.812] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:43.812] Resolving exec server at port 49489
[01:31:43.813] [Forwarding server port 49489] Got connection 0
[01:31:43.813] [Forwarding server port 49489] Got connection 1
[01:31:43.836] Exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d created and cached
[01:31:43.838] ------

[01:31:43.838] No hints found in the recent session.
[01:31:43.871] [server] Checking /home/juand_/.vscode-server/cli/servers/Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f/log.txt and /home/juand_/.vscode-server/cli/servers/Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f/pid.txt for a running server...
[01:31:43.916] [server] Found running server (pid=3546)
[01:31:44.889] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:44.898] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:44.904] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:44.904] No hints found in the recent session.
[01:31:44.907] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:44.907] No hints found in the recent session.
[01:31:44.919] Opening exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:44.926] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d
[01:31:44.927] No hints found in the recent session.
[01:33:28.933] Exec server for ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d closed (gracefully)
[01:33:28.968] ------

[01:33:28.968] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e312e3137222c2275736572223a226a75616e645f227d", attempt 2, (Reconnection)
[01:33:28.969] SSH Resolver called for host: [email protected]
[01:33:28.970] Setting up SSH remote "192.168.1.17"
[01:33:28.971] Acquiring local install lock: /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-remote-ssh-c11ea22e-install.lock
[01:33:28.971] Looking for existing server data file at /Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c11ea22e-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-0.116.1-es/data.json
[01:33:28.972] No existing data file
[01:33:28.972] Using commit id "fabdb6a30b49f79a7aba0f2ad9df9b399473380f" and quality "stable" for server
[01:33:28.974] Script variables:
{
"ExitCode.0": "OK",
"ExitCode.64": "LinuxPrereqs",
"ExitCode.65": "ProxyAuthenticationRequired",
"ExitCode.128": "UnparsableOutput",
"ExitCode.129": "EmptyOutput",
"ExitCode.131": "UnhandledResolverExitCode",
"ExitCode.132": "OfflineError",
"ExitCode.133": "SshInstall",
"ExitCode.134": "FindLocalPort",
"ExitCode.135": "Timeout",
"ExitCode.136": "ExhaustedRetries",
"ExitCode.137": "PermissionDenied",
"ExitCode.138": "MitmPortForwardingDisabled",
"ExitCode.139": "Canceled",
"ExitCode.140": "BadLocalDownloadRequest",
"ExitCode.141": "LocalDownloadFailed",
"ExitCode.142": "LocalLockTimeout",
"ExitCode.143": "NoBash",
"ExitCode.144": "InvalidHostName",
"ExitCode.145": "BadInstallScriptResult",
"ExitCode.146": "ShellRequestFailedOnChannel",
"ExitCode.147": "InvalidPortRange",
"ExitCode.148": "SendDisconnectBrokenPipe",
"ExitCode.149": "LocalServerCrashed",
"ExitCode.150": "NoFreePortInRange",
"ExitCode.151": "InvalidCustomServerPath",
"ExitCode.192": "AlreadyInProgress",
"ExitCode.193": "ServerDownloadFailed",
"ExitCode.194": "NoDownloaderAvailable",
"ExitCode.195": "NoDownloaderAvailableForStatusCheck",
"ExitCode.196": "UnsupportedArch",
"ExitCode.197": "StatusCheckFailed",
"ExitCode.198": "NeedInsidersArch",
"ExitCode.199": "ServerTransferFailed",
"ExitCode.200": "ServerFailedToStart",
"ExitCode.201": "NeedInsidersWindows",
"ExitCode.202": "CreateInstallDirFailed",
"ExitCode.203": "UnsupportedPlatform",
"ExitCode.204": "ServerTerminatedCVE20201416",
"ExitCode.205": "UnpackFailed",
"ExitCode.206": "ChangeDirFailed",
"ExitCode.1023": "UnclassifiedError",
"ExitCode.OK": "0",
"ExitCode.LinuxPrereqs": "64",
"ExitCode.ProxyAuthenticationRequired": "65",
"ExitCode.UnparsableOutput": "128",
"ExitCode.EmptyOutput": "129",
"ExitCode.UnhandledResolverExitCode": "131",
"ExitCode.OfflineError": "132",
"ExitCode.SshInstall": "133",
"ExitCode.FindLocalPort": "134",
"ExitCode.Timeout": "135",
"ExitCode.ExhaustedRetries": "136",
"ExitCode.PermissionDenied": "137",
"ExitCode.MitmPortForwardingDisabled": "138",
"ExitCode.Canceled": "139",
"ExitCode.BadLocalDownloadRequest": "140",
"ExitCode.LocalDownloadFailed": "141",
"ExitCode.LocalLockTimeout": "142",
"ExitCode.NoBash": "143",
"ExitCode.InvalidHostName": "144",
"ExitCode.BadInstallScriptResult": "145",
"ExitCode.ShellRequestFailedOnChannel": "146",
"ExitCode.InvalidPortRange": "147",
"ExitCode.SendDisconnectBrokenPipe": "148",
"ExitCode.LocalServerCrashed": "149",
"ExitCode.NoFreePortInRange": "150",
"ExitCode.InvalidCustomServerPath": "151",
"ExitCode.AlreadyInProgress": "192",
"ExitCode.ServerDownloadFailed": "193",
"ExitCode.NoDownloaderAvailable": "194",
"ExitCode.NoDownloaderAvailableForStatusCheck": "195",
"ExitCode.UnsupportedArch": "196",
"ExitCode.StatusCheckFailed": "197",
"ExitCode.NeedInsidersArch": "198",
"ExitCode.ServerTransferFailed": "199",
"ExitCode.ServerFailedToStart": "200",
"ExitCode.NeedInsidersWindows": "201",
"ExitCode.CreateInstallDirFailed": "202",
"ExitCode.UnsupportedPlatform": "203",
"ExitCode.ServerTerminatedCVE20201416": "204",
"ExitCode.UnpackFailed": "205",
"ExitCode.ChangeDirFailed": "206",
"ExitCode.UnclassifiedError": "1023",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "0bfd74d6662b",
"startMarker": "0bfd74d6662b: running",
"commitId": "fabdb6a30b49f79a7aba0f2ad9df9b399473380f",
"quality": "stable",
"token": "a111a111-111a-1aa1-a11a-a1a111a11aaa",
"vscodeAgentFolder": "$HOME/.vscode-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "0bfd74d6662b:trigger_server_download",
"getDownloadServerEndTrigger": "0bfd74d6662b:trigger_server_download_end",
"getProgressDownloading": "0bfd74d6662b%%1%%",
"getProgressInstalling": "0bfd74d6662b%%2%%",
"printVars": "echo "SSH_AUTH_SOCK==$SSH_AUTH_SOCK=="\necho "DISPLAY==$DISPLAY==""
}
[01:33:28.976] Install and start server if needed
[01:33:28.979] PATH: /Users/juan/.pyenv/shims:/Applications/ArmGNUToolchain/12.3.rel1/arm-none-eabi/bin:/Users/juan/.nvm/versions/node/v18.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
[01:33:28.979] Checking ssh with "ssh -V"
[01:33:28.986] > OpenSSH_9.8p1, LibreSSL 3.3.6

[01:33:28.988] askpass server listening on /var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-4ade019c7b5c067258ad1300a047c8c890426840.sock
[01:33:28.988] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-3a58a01d1b5000b645193c5874eb2f5caf52cd1f.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","49497","-o","ConnectTimeout=15","[email protected]"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/juan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c11ea22e-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-0.116.1-es/data.json"}
[01:33:28.988] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.fHudZxmH1i/Listeners","SHELL":"/bin/bash","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/3z/kt7fvb3x5z11rkm9ymn1r4n00000gn/T/vscode-ssh-askpass-4ade019c7b5c067258ad1300a047c8c890426840.sock"}
[01:33:28.989] Spawned 9968
[01:33:28.990] Using connect timeout of 17 seconds
[01:33:29.058] > local-server-1> Running ssh connection command: ssh -v -T -D 49497 -o ConnectTimeout=15 [email protected]
[01:33:29.059] > local-server-1> Spawned ssh, pid=9976
[01:33:29.071] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[01:33:29.072] stderr> ssh: connect to host 192.168.1.17 port 22: Host is down
[01:33:29.074] > local-server-1> ssh child died, shutting down
[01:33:29.078] Local server exit: 0
[01:33:29.078] Received install output: local-server-1> Running ssh connection command: ssh -v -T -D 49497 -o ConnectTimeout=15 [email protected]
local-server-1> Spawned ssh, pid=9976
OpenSSH_9.8p1, LibreSSL 3.3.6
ssh: connect to host 192.168.1.17 port 22: Host is down
local-server-1> ssh child died, shutting down

[01:33:29.079] WARN: $PLATFORM is undefined in installation script output. Errors may be dropped.
[01:33:29.079] Failed to parse remote port from server output
[01:33:29.079] Resolver error: Error:
at v.Create (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:696499)
at t.handleInstallOutput (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:694580)
at e (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:748527)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:770991
at async t.withShowDetailsEvent (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:774668)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:745239
at async P (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:743294)
at async t.resolveWithLocalServer (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:744791)
at async x (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:767986)
at async t.resolve (/Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:772083)
at async /Users/juan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.116.1/out/extension.js:2:1055245
[01:33:29.081] ------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

4 participants