SSH fail due to detach error on macOS #31519
Unanswered
TTstone
asked this question in
Help and General Q&A
Replies: 1 comment 1 reply
-
Can you provide any additional info about the remote where this fails?
If you create a new clean user on the failing remote, can you connect that user successfully? Or does that also fail. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Remote proxy fails to launch due to detach error on macOS when add a SSH connection。
Description
Attempting to use Zed remote via SSH on macOS (Apple Silicon) fails during the proxy launch phase, due to an error when detaching the zed-remote-server process. This renders remote editing unusable via the proxy mechanism.
Tested with zed-remote-server-stable-0.187.8.
Steps to reproduce:
1.On macOS (M2 chip, macOS 15), install and extract zed-remote-server-stable-0.187.8 on the remote machine.
2.Confirm remote is reachable via SSH and manually executable:
ssh nauqeix@remote-host ~/.zed_server/zed-remote-server-stable-0.187.8 version
This runs fine.
3.Try to launch the proxy manually:
~/.zed_server/zed-remote-server-stable-0.187.8 proxy --identifier setup-1
4.Observe immediate failure
{"level":1,"module_path":"remote_server","file":"crates/remote_server/src/main.rs","line":105,"message":"(remote proxy) exiting due to error: failed to launch and detach server process"}
Expected Behavior:
The proxy command should start in the background successfully, allowing Zed desktop client to connect remotely.
Actual Behavior:
The proxy process crashes immediately with a detach error, making the remote connection unusable. There is no --no-detach or --foreground mode available to help debug or work around this.
log:
2025-05-27T12:27:17+08:00 INFO [remote_server::unix] (remote proxy) starting proxy process. PID: 27460 2025-05-27T12:27:17+08:00 ERROR [remote_server] (remote proxy) exiting due to error: failed to launch and detach server process
The setting is basically default and I can connect to another remote Mac but fail with this one.
Zed Version and System Specs
Zed: v0.187.8 (Zed)
OS: macOS 15.5.0
Memory: 8 GiB
Architecture: aarch64
Beta Was this translation helpful? Give feedback.
All reactions