59

GitHub - codercom/sshcode: Run VS Code on any server over SSH.

 5 years ago
source link: https://github.com/codercom/sshcode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

sshcode

"Open Issues" "Latest Release" MIT license Discord

sshcode is a CLI to automatically install and run code-server over SSH.

It uploads your extensions and settings automatically, so you can seamlessly use remote servers as VS Code hosts.

If you have Chrome installed, it opens the browser in app mode. That means there's no keybind conflicts, address bar, or indication that you're coding within a browser. It feels just like native VS Code.

Demo

Install

Chrome is recommended.

Install with go:

go get go.coder.com/sshcode

Or, grab a pre-built binary.

Usage

sshcode [email protected]
# Starts code-server on dev.kwc.io and opens in a new browser window.

You can specify a remote directory as the second argument:

sshcode [email protected] ~/projects/sourcegraph

Extensions & Settings Sync

By default, sshcode will rsync your local VS Code settings and extensions to the remote server every time you connect.

This operation may take a while on a slow connections, but will be fast on follow-up connections to the same server.

To disable this feature entirely, pass the --skipsync flag.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK