+0
日增长
5,689
stars
210
forks
4
watchers
65
prs
123
issues
10
releases
README
sshcode This project has been deprecated in favour of the code-server install script See the discussion in 185 --- 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 Have Chrome installed for the best experience. Install with go: bash go get -u go.coder.com/sshcode Or, grab a pre-built binary. OS Support We currently support: - Linux - MacOS - WSL For the remote server, we currently only support Linux x86_64 (64-bit) servers with glibc. musl libc (which is most notably used by Alpine Linux) is currently not supported on the remote server: 122. Usage bash 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: bash 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. Custom settings directories If you're using an alternate release of VS Code such as VS Code Insiders, you must specify your settings directories through the VSCODE_CONFIG_DIR and VSCODE_EXTENSIONS_DIR environment variables. The following will make sshcode work with VS Code Insiders: MacOS bash export VSCODE_CONFIG_DIR="$HOME/Library/Application Support/Code - Insiders/User" export VSCODE_EXTENSIONS_DIR="$HOME/.vscode-insiders/extensions" Linux bash export VSCODE_CONFIG_DIR="$HOME/.config/Code - Insiders/User" export VSCODE_EXTENSIONS_DIR="$HOME/.vscode-insiders/extensions" Sync-back 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, pass the -b flag.
Top issues
#185Hold on any future development37 comments · 2020-05-20#139v0.8.0 - error: failed to update code-server22 comments · 2019-09-10#135Can't install extensions, version mismatch (worked in the past)20 comments · 2019-08-23#11Remove reliance on rsync20 comments · 2019-04-20#70sshcode to a MacOS17 comments · 2019-04-27#175Resolving multiple auth requests15 comments · 2020-05-03#94Mingw support?14 comments · 2019-05-07#154`sshcode --version` does not print version info12 comments · 2019-11-26
Latest release
v0.10.0 v0.10.0 2020-02-21- 7ebef26 Remove duplicated word from sync user settings error - fd95a40 Fixed allow-http-warning and no auth - 6277c6b Update tarname and tar option for ci build