VS Code - Everyday Use
After the first-time setup (previous page), each time you want to work in VS Code on the server you will need to press Cmd-Shift-p
(Ctrl-Shift-p on Windows)
and then type or select Remote-SSH: Connect Current Window to Host...
Then you can click on your saved configuration.
Alternatively, you should install the Remote Development VS Code extension. Then you'll have an icon in your Activity Bar (left side of window) that looks like a screen with a little circle in the bottom right corner. Each different folder on the server that you've connected to via SSH in the past will show up here, and you can just click the -> arrow next to its name to connect again. However if you want to access a different folder for the first time, you will need to use the steps described in teh first paragraph above.
Last updated
Was this helpful?