title: VsCode Remote SSH .vscode-server taking up a lot of space
body: <p>I got an alert this morning for disk space in <code>/home</code> on a multi user remote SSH dev environment server.</p>
  
  <p>Running <code>partition -$xdev -type f -ls | sort -k 7 -r -n | head -20</code> I saw that the largest directories are <code>.vscode-server</code> with space nearing almost 1GB.</p>
  
  <pre class="lang-sh prettyprint-override"><code>974M    .
  10:06:16 my_user@my_server .vscode-server → pwd
  /home/my_user/.vscode-server
  10:08:06 my_user@my_server .vscode-server →  
  </code></pre>
  
  <pre class="lang-sh prettyprint-override"><code>29459 38028 -rwxr-xr-x   1 my_user  my_user  38940504 Aug 15 11:17 ./my_user/.vscode-server/bin/some_hash/node
  26270 38028 -rwxr-xr-x   1 my_user  my_user  38940504 Sep  3 16:51 ./my_user/.vscode-server/bin/some_other_hash/node
  24078 38028 -rwxr-xr-x   1 my_user  my_user  38940504 Oct 15 10:34 ./my_user/.vscode-server/bin/yet_another_hash/node
  2387 38028 -rwxr-xr-x   1 my_user  my_user  38940504 Oct  9 01:58 /home/my_user/.vscode-server/bin/last_hash/node
  </code></pre>
  
  <p>Looking through the directories it looks like this is where a lot of VsCode lives on the remote server and where remote extensions are installed to.</p>
  
  <p>Does anyone know if there is any safe files that can be cleaned up in <code>.vscode-server</code> or is just adding more space to <code>/home</code> the solution.</p>