Skip to content

SSH bootstrap daemon binary upload via scp fails on sftp-chrooted servers #25

Description

@arzafran

Tracking upstream cmux manaflow-ai#6207 — applicable to our fork but needs a product/scope decision.

Assessment: Confirmed: uploadRemoteDaemonBinaryLocked at Sources/Workspace.swift:4712 uses /usr/bin/scp (line 4154). sshExec already accepts stdin: Data? (line 4139), making the stdin-pipe fix mechanically straightforward. However, this targets a specific sshd configuration (sftp subsystem chroot ≠ shell session root) that may affect few users. Needs a product decision on whether sftp-chrooted hosts are a supported configuration. Existing tests mock /usr/bin/scp and would need updating.

Upstream: manaflow-ai#6207

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredDecision made: backlog, no work scheduled nowremote-daemonSSH-remote daemon (programad-remote)tech-debtKnown latent issue / maintenance debt

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions