Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing nc in Flatpak Sandbox #58

Open
NN708 opened this issue Dec 26, 2024 · 0 comments · May be fixed by #77
Open

Missing nc in Flatpak Sandbox #58

NN708 opened this issue Dec 26, 2024 · 0 comments · May be fixed by #77

Comments

@NN708
Copy link

NN708 commented Dec 26, 2024

zed-industries/zed#20751 introduced a requirement for nc to establish SSH connections, which is not present within the Flatpak sandbox, leading to the following error:

Cannot find nc, which is required to connect over ssh.
twelho added a commit to twelho/dev.zed.Zed that referenced this issue Feb 3, 2025
Zed [requires](https://github.com/zed-industries/zed/blob/eb820ab800ea2a0023667b5c0eb91daa7c9ab084/crates/remote/src/ssh_session.rs#L1423-L1441) the BSD version of `netcat` for remote development. It then depends on `libbsd`, which subsequently depends on `libmd`.

Starting a remote development session on another system over SSH works now with the password prompt correctly appearing.

Fixes flathub#58.
@twelho twelho linked a pull request Feb 3, 2025 that will close this issue
twelho added a commit to twelho/dev.zed.Zed that referenced this issue Feb 4, 2025
Zed [requires](https://github.com/zed-industries/zed/blob/eb820ab800ea2a0023667b5c0eb91daa7c9ab084/crates/remote/src/ssh_session.rs#L1423-L1441) the BSD version of `netcat` for remote development. It then depends on `libbsd`, which subsequently depends on `libmd`.

Starting a remote development session on another system over SSH works now with the password prompt correctly appearing.

Fixes flathub#58.
twelho added a commit to twelho/dev.zed.Zed that referenced this issue Feb 6, 2025
Zed [requires](https://github.com/zed-industries/zed/blob/eb820ab800ea2a0023667b5c0eb91daa7c9ab084/crates/remote/src/ssh_session.rs#L1423-L1441) the BSD version of `netcat` for remote development. It then depends on `libbsd`, which subsequently depends on `libmd`.

Starting a remote development session on another system over SSH works now with the password prompt correctly appearing.

Fixes flathub#58.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant