title: VSCode Insiders Remote SSH stopped working
body: <p>I'm using Visual Studio Code Insiders version 1.65.0-insider. Until 3 days ago, I was not having any problem connecting to the remote server at work from my work laptop through a VPN. I have my ssh config file and when I opened vscode (when connected to the VPN), I was asked for my password and it connected without problems.</p>
  <p>However, from yesterday I have started getting an error stating <strong>Could not establish connection to idk4v: The VS Code Server failed to start.</strong> <em>idk4v</em> is the remote machine's name that I gave in my ssh config file. I also get <strong>Waiting for server log...</strong> in the output continuously. I am pasting the output here from trying out just now. I have removed the non-essential parts for brevity:</p>
  <pre><code>[08:27:13.110] Log Level: 2
  [08:27:13.113] remote-ssh@0.70.0
  [08:27:13.113] win32 x64
  [08:27:13.114] SSH Resolver called for &quot;ssh-remote+idk4v&quot;, attempt 1
  [08:27:13.114] &quot;remote.SSH.useLocalServer&quot;: false
  [08:27:13.114] &quot;remote.SSH.showLoginTerminal&quot;: false
  [08:27:13.114] &quot;remote.SSH.remotePlatform&quot;: {&quot;idk4l&quot;:&quot;linux&quot;,&quot;idk4v&quot;:&quot;linux&quot;}
  [08:27:13.114] &quot;remote.SSH.path&quot;: undefined
  [08:27:13.115] &quot;remote.SSH.configFile&quot;: undefined
  [08:27:13.115] &quot;remote.SSH.useFlock&quot;: true
  [08:27:13.115] &quot;remote.SSH.lockfilesInTmp&quot;: false
  [08:27:13.115] &quot;remote.SSH.localServerDownload&quot;: auto
  [08:27:13.115] &quot;remote.SSH.remoteServerListenOnSocket&quot;: false
  [08:27:13.115] &quot;remote.SSH.showLoginTerminal&quot;: false
  [08:27:13.115] &quot;remote.SSH.defaultExtensions&quot;: []
  [08:27:13.115] &quot;remote.SSH.loglevel&quot;: 2
  [08:27:13.115] &quot;remote.SSH.serverPickPortsFromRange&quot;: {}
  [08:27:13.115] &quot;remote.SSH.enableDynamicForwarding&quot;: true
  [08:27:13.115] &quot;remote.SSH.serverInstallPath&quot;: {}
  [08:27:13.116] SSH Resolver called for host: idk4v
  [08:27:13.116] Setting up SSH remote &quot;idk4v&quot;
  [08:27:13.128] Using commit id &quot;50089c3f92c17584a4aca179f51f220b56c22020&quot; and quality &quot;insider&quot; for server
  [08:27:13.130] Install and start server if needed
  [08:27:13.132] Checking ssh with &quot;ssh -V&quot;
  [08:27:13.159] &gt; OpenSSH_for_Windo
  [08:27:13.159] &gt; ws_8.1p1, LibreSSL 3.0.2
  
  [08:27:13.162] Running script with connection command: ssh -T -D 51608 idk4v bash
  [08:27:13.163] Terminal shell path: C:\windows\System32\cmd.exe
  [08:27:13.361] &gt; ]0;C:\windows\System32\cmd.exe
  [08:27:13.362] Got some output, clearing connection timeout
  [08:27:17.073] &gt;
  &gt; 
  [08:27:24.396] Showing password prompt
  [08:27:27.658] Got password response
  [08:27:27.658] &quot;install&quot; wrote data to terminal: &quot;********&quot;
  [08:27:27.677] &gt; 
  [08:27:28.215] &gt; 796e33571197: running
  [08:27:28.272] &gt; Acquiring lock on /home/su0/.vscode-server-insiders/bin/50089c3f92c17584a4aca179f51f220b56c22020/vscode-remote-lock.su0.50089c3f92c17584a4aca179f51f220b56c22020
  [08:27:28.296] &gt; Found existing installation at /home/su0/.vscode-server-insiders/bin/50089c3f92c17584a4aca179f51f220b56c22020...
  &gt; Checking /home/su0/.vscode-server-insiders/.50089c3f92c17584a4aca179f51f220b56c22020.log and /home/su0/.vscode-server-insiders/.50089c3f92c17584a4aca179f51f220b56c22020.pid for a running server
  [08:27:28.306] &gt; Looking for server with pid: 294423
  [08:27:28.413] &gt; Starting server with command... /home/su0/.vscode-server-insiders/bin/50089c3f92c17584a4aca179f51f220b56c22020/server.sh --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0    &amp;&gt; &quot;/home/su0/.vscode-server-insiders/.50089c3f92c17584a4aca179
  &gt; f51f220b56c22020.log&quot; &lt; /dev/null
  &gt; printenv:
  [08:27:28.431] &gt;     XDG_SESSION_ID=219
  &gt;     SELINUX_ROLE_REQUESTED=
  &gt;     SHELL=/bin/zsh
  &gt;     SSH_CLIENT=10.159.165.35 51610 22
  &gt;     SELINUX_USE_CURRENT_RANGE=
  &gt;     USER=su0
  &gt;     VSCODE_AGENT_FOLDER=/home/su0/.vscode-server-insiders
  &gt;     MAIL=/var/mail/su0
  &gt;     PATH=/usr/local/bin:/usr/bin
  &gt;     PWD=/home/su0
  &gt;     SELINUX_LEVEL_REQUESTED=
  &gt;     SHLVL=1
  &gt;     HOME=/home/su0
  &gt;     LOGNAME=su0
  &gt;     SSH_CONNECTION=10.159.165.35 51610 10.1.164.50 22    
  &gt;     XDG_RUNTIME_DIR=/run/user/46546
  &gt;     _=/usr/bin/printenv
  &gt; Spawned remote server: 6344
  &gt; Waiting for server log...
  Waiting for server log...
  [08:27:36.044] &gt;  
  &gt; *
  &gt; * Reminder: You may only use this software with Visual Studio family products,
  &gt; * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
  &gt; *
  &gt; 
  [08:27:36.055] &gt; 
  &gt; Server did not start successfully. Full server log at /home/su0/.vscode-server-insiders/.50089c3f92c17584a4aca179f51f220b56c22020.log &gt;&gt;&gt;
  &gt; server.sh is being replaced by 'bin/code-server-insiders'. Please migrate to the new command and adopt the following new default behaviors:
  &gt; * connection token is mandatory unless --without-connection-token is used
  &gt; * host defaults to `localhost`
  &gt; *
  &gt; * Visual Studio Code Server
  &gt; *
  &gt; * By using the software, you agree to
  &gt; * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
  &gt; * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
  &gt; *
  &gt; Do you accept the terms in the License Agreement?&lt;&lt;&lt; End of server log
  &gt; 796e33571197: start
  &gt; exitCode==32==
  &gt; listeningOn====
  &gt; osReleaseId==centos==
  &gt; arch==x86_64==
  &gt; tmpDir==/run/user/46546==
  &gt; platform==linux==
  &gt; unpackResult====
  &gt; didLocalDownload==0==
  &gt; downloadTime====
  &gt; installTime====
  &gt; extInstallTime====
  &gt; serverStartTime==7623==
  &gt; 796e33571197: end
  [08:27:36.055] Received install output: 
  exitCode==32==
  listeningOn====
  osReleaseId==centos==
  arch==x86_64==
  tmpDir==/run/user/46546==
  platform==linux==
  unpackResult====
  didLocalDownload==0==
  downloadTime====
  installTime====
  extInstallTime====
  serverStartTime==7623==
  
  [08:27:36.056] Resolver error: Error: The VS Code Server failed to start
      at Function.ServerInstallError (c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:430359)
      at u (c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:424682)
      at Object.t.handleInstallOutput (c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:429101)
      at Object.t.tryInstall (c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:524212)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:487216
      at async Object.t.withShowDetailsEvent (c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:490561)
      at async Object.t.resolve (c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:488295)
      at async c:\Users\su0\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:564197
  [08:27:36.060] ------
  
  [08:27:36.285] &gt; 
  [08:27:37.355] &quot;install&quot; terminal command done
  [08:27:37.355] Install terminal quit with output: 
  </code></pre>
  <p>I tried <a href="https://stackoverflow.com/questions/67374506/visual-studio-code-remote-ssh-no-longer-working-waiting-for-server-log">this</a> solution, where I both killed and uninstalled the VS Code Server on the host, deleted the <code>~/.vscode-server-insiders</code> directory on the remote server, restarted VS Code, and tried to reconnect to the server. But I got the same error. I couldn't find any other solution. Any help is appreciated.</p>