fix: devbox code Remote SSH fixes + nix-ld + docs#3
Merged
ethannortharc merged 6 commits intomainfrom Mar 10, 2026
Merged
Conversation
…nto sandbox via Remote SSH' (#1) from feat/devbox-code into main Reviewed-on: https://git.giomni.com/ethan/devbox/pulls/1
The path must be a separate argument, not concatenated with the host. `code --remote ssh-remote+HOST /path` instead of `--remote=ssh-remote+HOST/path`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Lima outputs `Host lima-devbox-<name>` but VS Code connects to `devbox-<name>`. The mismatch caused "Could not resolve hostname" errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
NixOS can't run dynamically linked executables out of the box. programs.nix-ld provides the ld-linux shim so VS Code Remote SSH, Cursor, and similar tools can download and run their server binaries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…handles Host-side changes cause stale inodes in the overlay cache. Refreshing before launching VS Code/Cursor ensures a clean view of the workspace. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Documents VS Code, Cursor, and Windsurf support via Remote SSH. Adds devbox code to the commands table. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ethannortharc
pushed a commit
that referenced
this pull request
Mar 10, 2026
… Remote SSH' (#3) from fix/devbox-code-remote-arg into main Reviewed-on: https://git.giomni.com/ethan/devbox/pulls/3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--remoteargument format (path as separate arg, not concatenated)Hostline to match devbox host alias (waslima-devbox-<name>, needsdevbox-<name>)nix-ldon NixOS for VS Code Server / Cursor compatibilityUsage
Test plan
devbox codeopens VS Code into a running sandbox without hostname errorsHost devbox-<name>line--editor cursor)🤖 Generated with Claude Code