microsoft / microsoft/vscode-remote-release

Keep asking password and result in "Fail to connect to remote extension host server"

Open
#11,115 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ssh
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Is there an existing issue for this bug?
  • I have searched the existing open issues and found none that apply.
  • 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
  • I have read and performed the troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting
  • My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
  • 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 COULD successfully SSH to the remote machine with the generated SSH command

Remote-SSH Log
Remote-SSH Log

[08:40:00.448] Log Level: 2
[08:40:00.473] SSH Resolver called for "ssh-remote+tmp_vm", attempt 1
[08:40:00.476] remote.SSH.useLocalServer = false
[08:40:00.477] remote.SSH.useExecServer = true
[08:40:00.478] remote.SSH.bindHost = {}
[08:40:00.478] remote.SSH.showLoginTerminal = false
[08:40:00.478] remote.SSH.remotePlatform = {"20.97.1.37":"linux","ai03_dkr":"linux","20.115.23.81":"linux","ai01_dkr":"linux","ai01_dkr33":"linux","ai01_dkr22":"linux","ai14":"linux","ai14_dkr":"linux","ai14_dkr33":"linux","ai14_dkr22":"linux","ai07_dkr22":"linux","ai07_dkr33":"linux","ai07":"linux","ai07_dkr3300":"linux","ai07_dkr5555":"linux","ai07_dkr2200":"linux","ai07_dkr5566":"linux","applying-prot-money-formatting.trycloudflare.com":"linux","submissions-fell-period-element.trycloudflare.com":"linux","teaching-heath-implications-endorsement.trycloudflare.com":"linux","member-excuse-stayed-identical.trycloudflare.com":"linux","13.65.33.80":"linux","ai17_dkr2200":"linux","ai17_dkr5566":"linux","ai17_dkr5555":"linux","ai17_dkr3300":"linux","ai17_dkr2222":"linux","twcc_clipseg":"linux","twcc_ds":"linux","twcc_run":"linux","ncu_server":"linux","ADVG_proj_test":"linux","ADVG_proj_alternative":"linux","ADVG_proj_xxx":"linux","a100_vm":"linux","Intern_proj":"linux","ADVG_proj_tsit":"linux","ADVG_proj":"linux","ai_utils_dev":"linux","llm_proj":"linux","hhtd_proj":"linux","wenny_support":"linux","cabine_proj":"linux","prv_proj":"linux","IGNF_proj":"linux","CARGAN_proj":"linux","cmp_vm":"linux","azu_vm":"linux","tmp_vm":"linux"}
[08:40:00.481] remote.SSH.path = undefined
[08:40:00.482] remote.SSH.configFile = undefined
[08:40:00.482] remote.SSH.useFlock = true
[08:40:00.483] remote.SSH.lockfilesInTmp = false
[08:40:00.483] remote.SSH.localServerDownload = auto
[08:40:00.484] remote.SSH.remoteServerListenOnSocket = false
[08:40:00.484] remote.SSH.defaultExtensions = []
[08:40:00.485] remote.SSH.defaultExtensionsIfInstalledLocally = []
[08:40:00.485] remote.SSH.loglevel = 2
[08:40:00.486] remote.SSH.enableDynamicForwarding = true
[08:40:00.486] remote.SSH.enableRemoteCommand = false
[08:40:00.487] remote.SSH.serverPickPortsFromRange = {}
[08:40:00.487] remote.SSH.serverInstallPath = {}
[08:40:00.487] remote.SSH.permitPtyAllocation = false
[08:40:00.488] remote.SSH.preferredLocalPortRange = undefined
[08:40:00.488] remote.SSH.useCurlAndWgetConfigurationFiles = false
[08:40:00.489] remote.SSH.experimental.chat = false
[08:40:00.489] remote.SSH.experimental.enhancedSessionLogs = false
[08:40:00.490] remote.SSH.httpProxy = {}
[08:40:00.490] remote.SSH.httpsProxy = {}
[08:40:00.505] VS Code version: 1.102.2
[08:40:00.505] Remote-SSH version: remote-ssh@0.120.0
[08:40:00.506] win32 x64
[08:40:00.512] SSH Resolver called for host: tmp_vm
[08:40:00.512] Setting up SSH remote "tmp_vm"
[08:40:00.521] Using commit id "c306e94f98122556ca081f527b466015e1bc37b0" and quality "stable" for server
[08:40:00.521] Extensions to install: 
[08:40:00.530] Install and start server if needed
[08:40:00.533] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe -V"
[08:40:00.536] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[08:40:00.536] Checking ssh with "C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\ssh.exe -V"
[08:40:00.537] Got error from ssh: spawn C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\ssh.exe ENOENT
[08:40:00.537] Checking ssh with "C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\ssh.exe -V"
[08:40:00.539] Got error from ssh: spawn C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\ssh.exe ENOENT
[08:40:00.539] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[08:40:00.540] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[08:40:00.540] Checking ssh with "C:\Windows\ssh.exe -V"
[08:40:00.542] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[08:40:00.542] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[08:40:00.543] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[08:40:00.544] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[08:40:00.545] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[08:40:00.545] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[08:40:00.583] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[08:40:00.588] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 49959 "tmp_vm" sh
[08:40:00.592] Generated SSH command: 'type "C:\Users\josep\AppData\Local\Temp\vscode-linux-multi-line-command-tmp_vm-690751805.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 49959 "tmp_vm" sh'
[08:40:00.593] Using connect timeout of 17 seconds
[08:40:00.593] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:40:00.884] > 
[08:40:00.884] Got some output, clearing connection timeout
[08:40:01.094] > root@10.62.182.104's password: 
[08:40:01.094] Showing password prompt
[08:40:08.713] Got password response
[08:40:08.713] "install" wrote data to terminal: "**********"
[08:40:08.748] > 
[08:40:08.895] > dce9d2f72d28: running
> Script executing under PID: 678533
[08:40:08.913] > Found existing installation at /root/.vscode-server...
> Starting VS Code CLI...
> Removing old logfile at /root/.vscode-server/.cli.c306e94f98122556ca081f527b4660
> 15e1bc37b0.log
[08:40:08.929] > Spawned remote CLI: 678559
> Waiting for server log... 
[08:40:08.946] > dce9d2f72d28: start
[08:40:08.963] > listeningOn==127.0.0.1:46737==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==42==
> execServerToken==a1aa1a1a-1aa1-1aa1-1aa1-111a11111aaa==
> platformDownloadPath==cli-alpine-x64==
> SSH_AUTH_SOCK====
> DISPLAY====
> dce9d2f72d28: end
[08:40:08.964] Received install output: 
listeningOn==127.0.0.1:46737==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==42==
execServerToken==a1aa1a1a-1aa1-1aa1-1aa1-111a11111aaa==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====

[08:40:08.965] Remote server is listening on port 46737
[08:40:08.965] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":46737},"osReleaseId":"ubuntu","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","execServerToken":"a1aa1a1a-1aa1-1aa1-1aa1-111a11111aaa"},"serverStartTime":42,"installUnpackCode":""}
[08:40:08.970] Starting forwarding server. local port 49962 -> socksPort 49959 -> remotePort 46737
[08:40:08.972] Forwarding server listening on port 49962
[08:40:08.973] Waiting for ssh tunnel to be ready
[08:40:08.976] [Forwarding server port 49962] Got connection 0
[08:40:08.978] Tunneled port 46737 to local port 49962
[08:40:08.978] Resolved "ssh-remote+tmp_vm" to "port 49962"
[08:40:08.990] Initizing new exec server for ssh-remote+tmp_vm
[08:40:08.990] Resolving exec server at port 49962
[08:40:08.994] [Forwarding server port 49962] Got connection 1
[08:40:09.044] Exec server for ssh-remote+tmp_vm created and cached
[08:40:09.044] Extensions to install: 
[08:40:09.050] ------




[08:40:09.051] No hints found in the recent session.
[08:40:09.073] [server] Checking /root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/log.txt and /root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/pid.txt for a running server...
[08:40:09.112] [server] Found running server (pid=4032289)
[08:40:09.114] ------




[08:40:09.114] SSH Resolver called for "ssh-remote+tmp_vm", attempt 2, (Reconnection)
[08:40:09.116] SSH Resolver called for host: tmp_vm
[08:40:09.116] Setting up SSH remote "tmp_vm"
[08:40:09.118] Using commit id "c306e94f98122556ca081f527b466015e1bc37b0" and quality "stable" for server
[08:40:09.118] Extensions to install: 
[08:40:09.121] Install and start server if needed
[08:40:09.125] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 49967 "tmp_vm" sh
[08:40:09.126] Generated SSH command: 'type "C:\Users\josep\AppData\Local\Temp\vscode-linux-multi-line-command-tmp_vm-823873091.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 49967 "tmp_vm" sh'
[08:40:09.126] Using connect timeout of 17 seconds
[08:40:09.127] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:40:09.413] > 
[08:40:09.413] Got some output, clearing connection timeout
[08:40:09.561] > root@10.62.182.104's password: 
[08:40:09.561] Showing password prompt
[08:40:12.607] Got password response
[08:40:12.608] "install" wrote data to terminal: "**********"
[08:40:12.632] > 
[08:40:12.912] > 2f3e5cf3f7f4: running
[08:40:12.928] > Script executing under PID: 678689
[08:40:12.945] > Found existing installation at /root/.vscode-server...
> Starting VS Code CLI...
> Removing old logfile at /root/.vscode-server/.cli.c306e94f98122556ca081f527b4660
> 15e1bc37b0.log
[08:40:13.011] > Spawned remote CLI: 678715
[08:40:13.028] > Waiting for server log...
[08:40:13.111] > Waiting for server log...
[08:40:13.196] > 2f3e5cf3f7f4: start
> listeningOn==127.0.0.1:37871==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==274==
> execServerToken==1111a111-1aa1-111a-1111-1a1111111111==
> platformDownloadPath==cli-alpine-x64==
> SSH_AUTH_SOCK====
> DISPLAY====
> 2f3e5cf3f7f4: end
[08:40:13.196] Received install output: 
listeningOn==127.0.0.1:37871==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==274==
execServerToken==1111a111-1aa1-111a-1111-1a1111111111==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====

[08:40:13.196] Remote server is listening on port 37871
[08:40:13.196] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":37871},"osReleaseId":"ubuntu","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","execServerToken":"1111a111-1aa1-111a-1111-1a1111111111"},"serverStartTime":274,"installUnpackCode":""}
[08:40:13.199] Starting forwarding server. local port 49972 -> socksPort 49967 -> remotePort 37871
[08:40:13.200] Forwarding server listening on port 49972
[08:40:13.200] Waiting for ssh tunnel to be ready
[08:40:13.201] [Forwarding server port 49972] Got connection 0
[08:40:13.202] Tunneled port 37871 to local port 49972
[08:40:13.202] Resolved "ssh-remote+tmp_vm" to "port 49972"
[08:40:13.281] Verified and reusing cached exec server for ssh-remote+tmp_vm
[08:40:13.282] Extensions to install: 
[08:40:13.284] ------
[08:40:13.285] No hints found in the recent session.
[08:40:13.300] ------
[08:40:13.300] SSH Resolver called for "ssh-remote+tmp_vm", attempt 3, (Reconnection)
[08:40:13.302] SSH Resolver called for host: tmp_vm
[08:40:13.302] Setting up SSH remote "tmp_vm"
[08:40:13.306] Using commit id "c306e94f98122556ca081f527b466015e1bc37b0" and quality "stable" for server
[08:40:13.306] Extensions to install: 
[08:40:13.308] Install and start server if needed
[08:40:13.312] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 49975 "tmp_vm" sh
[08:40:13.313] Generated SSH command: 'type "C:\Users\josep\AppData\Local\Temp\vscode-linux-multi-line-command-tmp_vm-424211601.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 49975 "tmp_vm" sh'
[08:40:13.313] Using connect timeout of 17 seconds
[08:40:13.313] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:40:13.596] > 
[08:40:13.596] Got some output, clearing connection timeout
[08:40:13.996] > root@10.62.182.104's password: 
[08:40:13.996] Showing password prompt
[08:40:18.675] Got password response
[08:40:18.676] "install" wrote data to terminal: "**********"
[08:40:18.676] > root@10.62.182.104's password: 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[08:40:18.676] Showing password prompt
[08:41:13.725] > Connection to 10.62.182.104 closed by remote host.
[08:41:13.726] > Connection to 10.62.182.104 closed by remote host.
[08:41:14.504] "install" terminal command done
[08:41:14.505] Install terminal quit with output: Connection to 10.62.182.104 closed by remote host.
[08:41:14.812] "install" terminal command done
[08:41:14.812] Install terminal quit with output: Connection to 10.62.182.104 closed by remote host.
[08:41:20.285] "install" terminal command done
[08:41:20.285] Install terminal quit with output: root@10.62.182.104's password: 
[08:41:20.286] Received install output: root@10.62.182.104's password: 
[08:41:20.286] WARN: $PLATFORM is undefined in installation script output.  Errors may be dropped.
[08:41:20.286] Failed to parse remote port from server output
[08:41:20.287] Resolver error: Error
    at y.Create (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:744751)
    at t.handleInstallOutput (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:742832)
    at t.tryInstall (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:865534)
    at async c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824246
    at async t.withShowDetailsEvent (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:827501)
    at async A (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:820760)
    at async t.resolve (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:824898)
    at async c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:1113660
[08:41:20.290] ------
[08:41:20.291] No hints found in the recent session.
[08:41:20.295] ------
[08:41:20.295] SSH Resolver called for "ssh-remote+tmp_vm", attempt 4, (Reconnection)
[08:41:20.297] SSH Resolver called for host: tmp_vm
[08:41:20.297] Setting up SSH remote "tmp_vm"
[08:41:20.300] Using commit id "c306e94f98122556ca081f527b466015e1bc37b0" and quality "stable" for server
[08:41:20.300] Extensions to install: 
[08:41:20.305] Install and start server if needed
[08:41:20.308] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50000 "tmp_vm" sh
[08:41:20.309] Generated SSH command: 'type "C:\Users\josep\AppData\Local\Temp\vscode-linux-multi-line-command-tmp_vm-78885451.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50000 "tmp_vm" sh'
[08:41:20.309] Using connect timeout of 17 seconds
[08:41:20.310] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:41:21.728] > root@10.62.182.104's password: 
[08:41:21.729] Got some output, clearing connection timeout
[08:41:21.729] Showing password prompt
[08:41:21.730] Password dialog canceled
[08:41:21.730] "install" terminal command canceled
[08:41:21.730] > 
[08:41:21.730] > 7973577d244f: running
[08:41:21.731] > Script executing under PID: 678
> 884
[08:41:21.731] > Found existing installation at 
> /root/.vscode-server...        
[08:41:21.731] > Starting VS Code CLI...        
> Removing old logfile at /root/.
> vscode-server/.cli.c306e94f9812
> 2556ca081f527b466015e1bc37b0.lo
> g
> Spawned remote CLI: 678912     
> Waiting for server log...      
[08:41:21.731] > Waiting for server log...
[08:41:21.731] > 7973577d244f: start
> listeningOn==127.0.0.1:38789==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==126==
> execServerToken==12326c45-4a19-
> 4a43-a144-8683f02ab6e6==       
> platformDownloadPath==cli-alpin
> e-x64==
> SSH_AUTH_SOCK====
> DISPLAY====
> 7973577d244f: end
[08:41:21.731] > 
[08:41:21.731] > Connection to 10.62.182.104 clo
> sed by remote host.
[08:42:14.368] Password dialog canceled
[08:42:14.369] "install" terminal command canceled
[08:42:14.369] Resolver error: Error: Connecting was canceled
    at y.Canceled (c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:744983)
    at c:\Users\josep\.vscode\extensions\ms-vscode-remote.remote-ssh-0.120.0\out\extension.js:2:864832
[08:42:14.372] ------
[08:42:14.373]  ---------- [Session Summary] ----------- 
[08:42:14.373] [Canceled]: Error: Canceled (Connecting was canceled)
[08:42:14.373]  ---------------------------------------- 
[08:42:14.455] ------
[08:42:14.455] SSH Resolver called for "ssh-remote+tmp_vm", attempt 5, (Reconnection)
[08:42:14.456] SSH Resolver called for host: tmp_vm
[08:42:14.456] Setting up SSH remote "tmp_vm"
[08:42:14.461] Using commit id "c306e94f98122556ca081f527b466015e1bc37b0" and quality "stable" for server
[08:42:14.461] Extensions to install: 
[08:42:14.467] Install and start server if needed
[08:42:14.470] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50008 "tmp_vm" sh
[08:42:14.471] Generated SSH command: 'type "C:\Users\josep\AppData\Local\Temp\vscode-linux-multi-line-command-tmp_vm-592582356.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 50008 "tmp_vm" sh'
[08:42:14.471] Using connect timeout of 17 seconds
[08:42:14.471] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:42:14.800] > 
[08:42:14.800] Got some output, clearing connection timeout
[08:42:19.970] > root@10.62.182.104's password: 
[08:42:19.971] Showing password prompt
[08:42:38.262] Got password response
[08:42:38.263] "install" wrote data to terminal: "**********"
[08:42:38.304] > 
[08:42:38.579] > 42dd0bbb6a91: running
[08:42:38.598] > Script executing under PID: 681621
[08:42:38.614] > Found existing installation at /root/.vscode-server...
> Starting VS Code CLI...
> Removing old logfile at /root/.vscode-server/.cli.c306e94f98122556ca081f527b4660
> 15e1bc37b0.log
> Spawned remote CLI: 681647
> Waiting for server log...
[08:42:38.647] > 42dd0bbb6a91: start
[08:42:38.664] > listeningOn==127.0.0.1:32833==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==42==
> execServerToken==a1aa11a1-aaaa-1aa1-aa11-1a1a1a111aa1==
> platformDownloadPath==cli-alpine-x64==
> SSH_AUTH_SOCK====
> DISPLAY====
> 42dd0bbb6a91: end
[08:42:38.665] Received install output: 
listeningOn==127.0.0.1:32833==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==42==
execServerToken==a1aa11a1-aaaa-1aa1-aa11-1a1a1a111aa1==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====

[08:42:38.665] Remote server is listening on port 32833
[08:42:38.665] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":32833},"osReleaseId":"ubuntu","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","execServerToken":"a1aa11a1-aaaa-1aa1-aa11-1a1a1a111aa1"},"serverStartTime":42,"installUnpackCode":""}
[08:42:38.668] Starting forwarding server. local port 50024 -> socksPort 50008 -> remotePort 32833
[08:42:38.671] Forwarding server listening on port 50024
[08:42:38.671] Waiting for ssh tunnel to be ready
[08:42:38.673] [Forwarding server port 50024] Got connection 0
[08:42:38.674] Tunneled port 32833 to local port 50024
[08:42:38.674] Resolved "ssh-remote+tmp_vm" to "port 50024"
[08:42:41.688] Existing exec server for ssh-remote+tmp_vm timed out
[08:42:41.688] Initizing new exec server for ssh-remote+tmp_vm
[08:42:41.689] Resolving exec server at port 50024
[08:42:41.692] [Forwarding server port 50024] Got connection 1
[08:42:41.730] Exec server for ssh-remote+tmp_vm created and cached
[08:42:41.730] Extensions to install: 
[08:42:41.734] ------
[08:42:41.738]  ---------- [Session Summary] ----------- 
[08:42:41.738] [Canceled]: Error: Canceled (Connecting was canceled)
[08:42:41.738]  ---------------------------------------- 
[08:42:41.765] [server] Checking /root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/log.txt and /root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/pid.txt for a running server...
[08:42:41.806] [server] Found running server (pid=4032289)
[08:42:42.762] Opening exec server for ssh-remote+tmp_vm
[08:42:42.981] Opening exec server for ssh-remote+tmp_vm
[08:42:43.075] Verified and reusing cached exec server for ssh-remote+tmp_vm
[08:42:43.075]  ---------- [Session Summary] ----------- 
[08:42:43.075] [Canceled]: Error: Canceled (Connecting was canceled)
[08:42:43.075]  ---------------------------------------- 
[08:42:43.089] Verified and reusing cached exec server for ssh-remote+tmp_vm
[08:42:43.090]  ---------- [Session Summary] ----------- 
[08:42:43.090] [Canceled]: Error: Canceled (Connecting was canceled)
[08:42:43.090]  ---------------------------------------- 
[08:42:43.101] Opening exec server for ssh-remote+tmp_vm
[08:42:43.111] Verified and reusing cached exec server for ssh-remote+tmp_vm
[08:42:43.112]  ---------- [Session Summary] ----------- 
[08:42:43.112] [Canceled]: Error: Canceled (Connecting was canceled)
[08:42:43.112]  ---------------------------------------- 

Expected Behavior

connect to remote side with vscode.

Actual Behavior

Since everything works fine yesterday, i first double that does remote side prohibit my ssh key or somethings. However, i can login into remote side with pure ssh commend user@xxx.x.x.x -p xxxx with global VPN.
But it vscode can not login to remote side (ssh log are above) and finally fail with following output.
Image

Steps To Reproduce

version information :
Image

Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or entry points. Start by reproducing the Remote-SSH connection with the generated SSH command and compare the repeated password prompts with the Remote-SSH log. Done means identifying and resolving the cause of the failed remote extension host connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.