{"id":13430980,"url":"https://github.com/coder/sshcode","last_synced_at":"2025-09-28T20:31:47.386Z","repository":{"id":50737109,"uuid":"182143383","full_name":"coder/sshcode","owner":"coder","description":"Run VS Code on any server over SSH.","archived":true,"fork":false,"pushed_at":"2020-08-10T18:36:45.000Z","size":799,"stargazers_count":5731,"open_issues_count":44,"forks_count":215,"subscribers_count":81,"default_branch":"master","last_synced_at":"2025-01-10T17:53:23.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-18T19:09:26.000Z","updated_at":"2025-01-03T21:48:01.000Z","dependencies_parsed_at":"2022-09-12T08:41:51.652Z","dependency_job_id":null,"html_url":"https://github.com/coder/sshcode","commit_stats":null,"previous_names":["cdr/sshcode","codercom/sshcode"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fsshcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fsshcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fsshcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fsshcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","download_url":"https://codeload.github.com/coder/sshcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563121,"owners_count":18853054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T02:00:59.495Z","updated_at":"2025-09-28T20:31:47.057Z","avatar_url":"https://github.com/coder.png","language":"Go","readme":"# sshcode\n\n**This project has been deprecated in favour of the [code-server install script](https://github.com/cdr/code-server#quick-install)**\n\n**See the discussion in [#185](https://github.com/cdr/sshcode/issues/185)**\n\n---\n\n[![\"Open Issues\"](https://img.shields.io/github/issues-raw/cdr/sshcode.svg)](https://github.com/cdr/sshcode/issues)\n[![\"Latest Release\"](https://img.shields.io/github/release/cdr/sshcode.svg)](https://github.com/cdr/sshcode/releases/latest)\n[![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/cdr/sshcode/blob/master/LICENSE)\n[![Discord](https://img.shields.io/discord/463752820026376202.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/zxSwN8Z)\n[![Build Status](https://travis-ci.org/cdr/sshcode.svg?branch=master)](https://travis-ci.org/cdr/sshcode)\n\n`sshcode` is a CLI to automatically install and run [code-server](https://github.com/cdr/code-server) over SSH.\n\nIt uploads your extensions and settings automatically, so you can seamlessly use\nremote servers as [VS Code](https://code.visualstudio.com) hosts.\n\nIf you have Chrome installed, it opens the browser in app mode. That means\nthere's no keybind conflicts, address bar, or indication that you're coding within a browser.\n**It feels just like native VS Code.**\n\n![Demo](/demo.gif)\n\n## Install\n\n**Have Chrome installed for the best experience.**\n\nInstall with `go`:\n\n```bash\ngo get -u go.coder.com/sshcode\n```\n\nOr, grab a [pre-built binary](https://github.com/cdr/sshcode/releases).\n\n### OS Support\n\nWe currently support:\n- Linux\n- MacOS\n- WSL\n\nFor the remote server, we currently only support Linux `x86_64` (64-bit)\nservers with `glibc`. `musl` libc (which is most notably used by Alpine Linux)\nis currently not supported on the remote server:\n[#122](https://github.com/cdr/sshcode/issues/122).\n\n## Usage\n\n```bash\nsshcode kyle@dev.kwc.io\n# Starts code-server on dev.kwc.io and opens in a new browser window.\n```\n\nYou can specify a remote directory as the second argument:\n\n```bash\nsshcode kyle@dev.kwc.io \"~/projects/sourcegraph\"\n```\n\n## Extensions \u0026 Settings Sync\n\nBy default, `sshcode` will `rsync` your local VS Code settings and extensions\nto the remote server every time you connect.\n\nThis operation may take a while on a slow connections, but will be fast\non follow-up connections to the same server.\n\nTo disable this feature entirely, pass the `--skipsync` flag.\n\n### Custom settings directories\n\nIf you're using an alternate release of VS Code such as VS Code Insiders, you\nmust specify your settings directories through the `VSCODE_CONFIG_DIR` and\n`VSCODE_EXTENSIONS_DIR` environment variables.\n\nThe following will make `sshcode` work with VS Code Insiders:\n\n**MacOS**\n\n```bash\nexport VSCODE_CONFIG_DIR=\"$HOME/Library/Application Support/Code - Insiders/User\"\nexport VSCODE_EXTENSIONS_DIR=\"$HOME/.vscode-insiders/extensions\"\n```\n\n**Linux**\n\n```bash\nexport VSCODE_CONFIG_DIR=\"$HOME/.config/Code - Insiders/User\"\nexport VSCODE_EXTENSIONS_DIR=\"$HOME/.vscode-insiders/extensions\"\n```\n\n### Sync-back\n\nBy default, VS Code changes on the remote server won't be synced back\nwhen the connection closes. To synchronize back to local when the connection ends,\npass the `-b` flag.\n","funding_links":[],"categories":["Go","HarmonyOS","others"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fsshcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder%2Fsshcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fsshcode/lists"}