|Dean Sheather 50e859cd10 Add git bash and mingw support (#132)||9 months ago|
|.sail||1 year ago|
|ci||8 months ago|
|.gitignore||1 month ago|
|.travis.yml||1 year ago|
|LICENSE||1 year ago|
|README.md||11 months ago|
|demo.gif||1 year ago|
|go.mod||8 months ago|
|go.sum||8 months ago|
|main.go||1 month ago|
|settings.go||1 month ago|
|sshcode.go||1 month ago|
|sshcode_test.go||11 months ago|
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.
Have Chrome installed for the best experience.
go get -u go.coder.com/sshcode
Or, grab a pre-built binary.
We currently support:
For the remote server, we currently only support Linux
musl libc (which is most notably used by Alpine Linux)
is currently not supported on the remote server:
sshcode firstname.lastname@example.org # 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@example.com "~/projects/sourcegraph"
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
If you're using an alternate release of VS Code such as VS Code Insiders, you
must specify your settings directories through the
VSCODE_EXTENSIONS_DIR environment variables.
The following will make
sshcode work with VS Code Insiders:
export VSCODE_CONFIG_DIR="$HOME/Library/Application Support/Code - Insiders/User" export VSCODE_EXTENSIONS_DIR="$HOME/.vscode-insiders/extensions"
export VSCODE_CONFIG_DIR="$HOME/.config/Code - Insiders/User" export VSCODE_EXTENSIONS_DIR="$HOME/.vscode-insiders/extensions"
By default, VS Code changes on the remote server won't be synced back
when the connection closes. To synchronize back to local when the connection ends,