title: VScode SSH extension keeps disconnecting after moving to a new location
body: <p>I recently moved to a different country, but I work remotely and therefore I thought that my workspace wouldn't be interrupted. However, now that I'm trying to connect to my workspace through ssh in vscode, the connection keeps disconnecting. I connect to the workspace through the VPN my workspace provides, and while I can connect to the linux box I work in via ssh, I cannot connect to it through vscode-remote-ssh extension like I did for the past few months. Nothing has changed in terms of settings on my computer. I attached the output vscode provides when I tried to connect below (this is the output from the reconnection attempt but the first connection attempt looks exactly the same).</p>
  <pre><code>[15:36:11.086] ------
  
  
  
  
  [15:36:11.086] SSH Resolver called for &quot;ssh-remote+203.0.113.0&quot;, attempt 2, (Reconnection)
  [15:36:11.087] SSH Resolver called for host: 203.0.113.0
  [15:36:11.087] Setting up SSH remote &quot;203.0.113.0&quot;
  [15:36:11.091] Using commit id &quot;e5e9e69aed6e1984f7499b7af85b3d05f9a6883a&quot; and quality &quot;stable&quot; for server
  [15:36:11.092] Install and start server if needed
  [15:36:11.096] Using SSH config file &quot;C:\Users\windowsUser\.ssh\config&quot;
  [15:36:11.096] Running script with connection command: ssh -T -D 53043 -F &quot;C:\Users\windowsUser\.ssh\config&quot; 203.0.113.0 bash
  [15:36:11.101] Terminal shell path: C:\Windows\System32\cmd.exe
  [15:36:11.240] &gt; 
  [15:36:11.240] Got some output, clearing connection timeout
  [15:36:13.669] &gt; linuxUser@203.0.113.0's password:
  [15:36:13.670] Showing password prompt
  [15:36:29.329] Got password response
  [15:36:29.330] &quot;install&quot; wrote data to terminal: &quot;*******&quot;
  [15:36:29.358] &gt; 
  &gt; 
  [15:36:31.047] &gt; 3a294560e95d: running
  &gt; Acquiring lock on /home/linuxUser/.vscode-server/bin/e5e9e69aed6e1984f7499b7af85b3
  &gt; d05f9a6883a/vscode-remote-lock.linuxUser.e5e9e69aed6e1984f7499b7af85b3d05f9a6883a
  &gt; 
  [15:36:31.073] &gt; Found existing installation at /home/linuxUser/.vscode-server/bin/e5e9e69aed6e1984
  &gt; f7499b7af85b3d05f9a6883a...
  &gt; Found running server...
  &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; 
  &gt; Checking server status on port 34103 with wget
  &gt; 
  [15:36:31.108] &gt; 3a294560e95d: start
  &gt; 
  [15:36:31.391] &gt; sshAuthSock====
  &gt; listeningOn==34103==
  &gt; osReleaseId==ubuntu==
  &gt; arch==x86_64==
  &gt; webUiAccessToken====
  &gt; tmpDir==/run/user/1000==
  &gt; platform==linux==
  &gt; 3a294560e95d: end
  &gt; 
  [15:36:31.391] Received install output: 
  sshAuthSock====
  listeningOn==34103==
  osReleaseId==ubuntu==
  arch==x86_64==
  webUiAccessToken====
  tmpDir==/run/user/1000==
  platform==linux==
  
  [15:36:31.392] Remote server is listening on 34103
  [15:36:31.392] Parsed server configuration: {&quot;remoteListeningOn&quot;:{&quot;port&quot;:34103},&quot;osReleaseId&quot;:&quot;ubuntu&quot;,&quot;arch&quot;:&quot;x86_64&quot;,&quot;webUiAccessToken&quot;:&quot;&quot;,&quot;sshAuthSock&quot;:&quot;&quot;,&quot;tmpDir&quot;:&quot;/run/user/1000&quot;,&quot;platform&quot;:&quot;linux&quot;}
  [15:36:31.393] Starting forwarding server. localPort 53048 -&gt; socksPort 53043 -&gt; remotePort 34103
  [15:36:31.395] Forwarding server listening on 53048
  [15:36:31.395] Waiting for ssh tunnel to be ready
  [15:36:31.396] Tunneled 34103 to local port 53048
  [15:36:31.396] Resolved &quot;ssh-remote+203.0.113.0&quot; to &quot;127.0.0.1:53048&quot;
  [15:36:31.397] [Forwarding server 53048] Got connection 0
  [15:36:31.402] ------
  
  
  
  
  [15:36:31.430] [Forwarding server 53048] Got connection 1
  [15:36:31.431] [Forwarding server 53048] Got connection 2
  </code></pre>
  <p>The connection hangs on <code>[Forwarding server 53048] Got connection 2</code> for a few seconds before disconnecting me and repeating this message (and asking for password again). I tried removing the .vscode-server file from the linux computer, which is then recreated right away but it still doesn't let me connect. I also tried changing the timeout in the vscode settings but this also did nothing. I am unsure why this would happen after simply physically moving the computer from one place to another but remaining on the same vpn, and why I would still be able to connect with regular ssh but just not through the vscode-remote ssh extension.</p>