Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 799 Bytes

File metadata and controls

20 lines (15 loc) · 799 Bytes

Running Visual Studio Code on your cloud

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

  • Install Go locally
  • Install Sshcode locally:
go get -u go.coder.com/sshcode
  • Connect to remote server (change ubuntu@server.could to your host):
~/go/bin/sshcode ubuntu@server.cloud "~/vscode/project1"

Troubleshouting

If you get this error: mkdir: cannot create directory ‘/home/ubuntu/.local/share/code-server’: Permission denied, make sure ~/.local is owned by ubuntu.