Author: Stan Eisenstat
Subject: Re: [Cs223] For ppl whose VS Code isn't connecting
Date: Saturday, 25 Apr 2020, 16:43:54
> I also had the very troubling problem of losing my SSH connection :') > Uninstalling and reinstalling did not work for me, but after several hours > I found that if you go into the configuration file (which people set when > they are first installing VS Code with a Yale Zoo connection) with the > following commands: > > Ctrl-Shift-P (which opens the command palette), then type in "Remote-SSH: > Open Configuration File" > > Open ....\.ssh\config > > You will probably see something like this: > Host YaleZoo > HostName node.zoo.cs.yale.edu > UserPREV INDEX NEXT> > Now copy and paste that, but for Host put .cs.yale.edu, and for > HostName put the same exact thing. Where is any of the nodes in > the zoo (e.g. hippo, cicada, bumblebee, etc.) > > Hopefully this helps someone :) good luck! The procedure above makes permanent the node to which you are connecting, which is fine as long as it is up and not overly busy. On the other hand, each time that you connect to node.zoo.cs.yale.edu you get a randomly chosen node, so if you do not like it you can get a different one by trying again. --Stan-