Code-server is the project that allows you to run VS Code (+ extensions) in the cloud and use a local browser to access it. Sshcode is the way to go to use a SSH connection to install VS Code on your server and spawn the local browser.
- Install Go locally
- Install Sshcode locally:
go get -u go.coder.com/sshcode
- Connect to remote server (change
ubuntu@server.couldto your host):
~/go/bin/sshcode ubuntu@server.cloud "~/vscode/project1"
If you get this error: mkdir: cannot create directory ‘/home/ubuntu/.local/share/code-server’: Permission denied, make sure ~/.local is owned by ubuntu.