title: when i use vscode extension Remote-ssh to connect to my remote server, i found vs cannot install vscoe-server in host
body: <p>this is the log when vscode install vscode-server in host</p>
  <p>i found that it got vscode-server commit id as follow log:</p>
  <pre><code>[13:07:27.334] Using commit id &quot;f80445acd5a3dadef24aa209168452a3d97cc326&quot; and quality &quot;stable&quot; for server
  </code></pre>
  <p>but it didn't use this commit id in wget download url:</p>
  <pre><code>[13:07:28.420] &gt; wget download failed
  &gt; https://update.code.visualstudio.com/commit:/server-darwin/stable:
  </code></pre>
  <pre><code>[13:07:27.297] Log Level: 2
  [13:07:27.298] remote-ssh@0.74.0
  [13:07:27.298] darwin x64
  [13:07:27.306] SSH Resolver called for &quot;ssh-remote+devbox&quot;, attempt 1
  [13:07:27.307] &quot;remote.SSH.useLocalServer&quot;: true
  [13:07:27.307] &quot;remote.SSH.path&quot;: undefined
  [13:07:27.308] &quot;remote.SSH.configFile&quot;: undefined
  [13:07:27.308] &quot;remote.SSH.useFlock&quot;: true
  [13:07:27.308] &quot;remote.SSH.lockfilesInTmp&quot;: false
  [13:07:27.308] &quot;remote.SSH.localServerDownload&quot;: off
  [13:07:27.309] &quot;remote.SSH.remoteServerListenOnSocket&quot;: false
  [13:07:27.309] &quot;remote.SSH.showLoginTerminal&quot;: false
  [13:07:27.309] &quot;remote.SSH.defaultExtensions&quot;: []
  [13:07:27.309] &quot;remote.SSH.loglevel&quot;: 2
  [13:07:27.310] &quot;remote.SSH.enableDynamicForwarding&quot;: true
  [13:07:27.310] &quot;remote.SSH.enableRemoteCommand&quot;: false
  [13:07:27.310] &quot;remote.SSH.serverPickPortsFromRange&quot;: {}
  [13:07:27.310] &quot;remote.SSH.serverInstallPath&quot;: {}
  [13:07:27.325] SSH Resolver called for host: devbox
  [13:07:27.325] Setting up SSH remote &quot;devbox&quot;
  [13:07:27.330] Acquiring local install lock: /var/folders/8f/x1b597tj715cn0x95bjqmy1m0000gp/T/vscode-remote-ssh-c4ea1055-install.lock
  [13:07:27.333] Looking for existing server data file at /Users/bytedance/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c4ea1055-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json
  [13:07:27.334] Using commit id &quot;f80445acd5a3dadef24aa209168452a3d97cc326&quot; and quality &quot;stable&quot; for server
  [13:07:27.340] Install and start server if needed
  [13:07:27.344] PATH: /Users/bytedance/.yarn/bin:/Users/bytedance/.config/yarn/global/node_modules/.bin:/Users/bytedance/.nvm/versions/node/v14.15.1/bin:/Users/bytedance/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/puppetlabs/bin:/Library/Apple/usr/bin:/Applications/Mplus
  [13:07:27.345] Checking ssh with &quot;ssh -V&quot;
  [13:07:27.359] &gt; OpenSSH_8.6p1, LibreSSL 2.8.3
  
  [13:07:27.369] askpass server listening on /var/folders/8f/x1b597tj715cn0x95bjqmy1m0000gp/T/vscode-ssh-askpass-efdbcc89680acf75582ff2c0e6d258ff60bbf93f.sock
  [13:07:27.369] Spawning local server with {&quot;serverId&quot;:1,&quot;ipcHandlePath&quot;:&quot;/var/folders/8f/x1b597tj715cn0x95bjqmy1m0000gp/T/vscode-ssh-askpass-340d49ea7f83ee5441ed6e4eecae6d815a8c993e.sock&quot;,&quot;sshCommand&quot;:&quot;ssh&quot;,&quot;sshArgs&quot;:[&quot;-v&quot;,&quot;-T&quot;,&quot;-D&quot;,&quot;63970&quot;,&quot;-o&quot;,&quot;ConnectTimeout=15&quot;,&quot;devbox&quot;],&quot;serverDataFolderName&quot;:&quot;.vscode-server&quot;,&quot;dataFilePath&quot;:&quot;/Users/bytedance/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-c4ea1055-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json&quot;}
  [13:07:27.370] Local server env: {&quot;DISPLAY&quot;:&quot;1&quot;,&quot;ELECTRON_RUN_AS_NODE&quot;:&quot;1&quot;,&quot;SSH_ASKPASS&quot;:&quot;/Users/bytedance/.vscode/extensions/ms-vscode-remote.remote-ssh-0.74.0/out/local-server/askpass.sh&quot;,&quot;VSCODE_SSH_ASKPASS_NODE&quot;:&quot;/Applications/Visual Studio Code.app/Contents/MacOS/Electron&quot;,&quot;VSCODE_SSH_ASKPASS_EXTRA_ARGS&quot;:&quot;--ms-enable-electron-run-as-node&quot;,&quot;VSCODE_SSH_ASKPASS_MAIN&quot;:&quot;/Users/bytedance/.vscode/extensions/ms-vscode-remote.remote-ssh-0.74.0/out/askpass-main.js&quot;,&quot;VSCODE_SSH_ASKPASS_HANDLE&quot;:&quot;/var/folders/8f/x1b597tj715cn0x95bjqmy1m0000gp/T/vscode-ssh-askpass-efdbcc89680acf75582ff2c0e6d258ff60bbf93f.sock&quot;}
  [13:07:27.371] Spawned 14057
  [13:07:27.515] &gt; local-server-1&gt; Spawned ssh, pid=14064
  [13:07:27.520] stderr&gt; OpenSSH_8.6p1, LibreSSL 2.8.3
  [13:07:27.596] stderr&gt; debug1: Server host key: ecdsa-sha2-nistp256 SHA256:b+9mK6ATDvqmXeFeXiRzqh4iICIEtuNptAfPeSuV4sI
  [13:07:27.953] stderr&gt; Authenticated to 10.227.84.41 ([10.227.84.41]:22).
  [13:07:28.012] &gt; Linux n227-084-041 4.14.81.bm.15-amd64 #1 SMP Debian 4.14.81.bm.15 Sun Sep 8 05:02:31 UTC 2019 x86_64
  &gt; 
  &gt; The programs included with the Debian GNU/Linux system are free software;
  &gt; the exact distribution terms for each program are described in the
  &gt; individual files in /usr/share/doc/*/copyright.
  &gt; 
  &gt; Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  &gt; permitted by applicable law.
  [13:07:28.023] &gt; ready: f8c7ecb7b7c3
  [13:07:28.033] &gt; Linux 4.14.81.bm.15-amd64 #1 SMP Debian 4.14.81.bm.15 Sun Sep 8 05:02:31 UTC 2019
  [13:07:28.034] Platform: linux
  [13:07:28.046] stderr&gt; bash: line 1: syntax error near unexpected token `done'
  [13:07:28.046] stderr&gt; bash: line 1: `done'
  [13:07:28.048] &gt; Installing to ...
  [13:07:28.048] stderr&gt; zsh: parse error near `}'
  [13:07:28.051] &gt; f8c7ecb7b7c3%%1%%
  [13:07:28.051] stderr&gt; do_host_download:1: command not found: millis
  [13:07:28.054] &gt; Downloading with wget
  [13:07:28.420] &gt; wget download failed
  &gt; https://update.code.visualstudio.com/commit:/server-darwin/stable:
  &gt; 2022-02-23 13:07:30 ERROR 404: Not Found.
  </code></pre>