‹ BackHN Continuity

Thread

VSCode's SSH Agent Is Bananas (2025)

310 points · 218 comments · Rapzid

  1. 10000truths · · focus · HN ↗
    So a program that is specifically designed to edit files and run arbitrary commands on a remote machine... can do so. Not sure where the bananas part comes in. Sending a binary over SSH/SFTP might sound weird at first glance, but VSCode can't assume that your remote machine can access the wider internet, and it needs a reliable way to bootstrap the agent on the remote. Shipping it over the SSH tunnel is the natural solution.
    1. dist-epoch · · focus · HN ↗
      The bananas part is that it dumps 500 MB of stuff on the remote side.
      1. fcatalan · · focus · HN ↗
        I just removed 5.5Gb of stale ~/.vscode-server from a dev VM
        1. snailmailman · · focus · HN ↗
          Oh wow I just checked my servers and on one the folder is 3.2GB and another has 1.7GB. It kind of looks like it just keeps copies of every version its ever installed? Theres several copies of node and `node_modules` folders.

          I'm not super low on space but it also pretty clearly doesn't need to be that large, it looks like most of it is copies of itself.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.