Skip to content

(remote): SWITCHBOARD_SSH_PATH only reaches the tmux attach; the mirror, watch, stop and scp use ssh from PATH #359

Description

@jbr-sekoia

SWITCHBOARD_SSH_PATH reads as the ssh binary for remote hosts, but only the attach PTY honours it:

  • read: remote-attach.js:230 (defaultResolveSshPath);
  • spawn a bare 'ssh' from PATH: the mirror (remote-transport.js:215, :290), the watch channel (remote-watch.js:137) and stop (remote-attach.js:260);
  • spawns scp from PATH the same way: remote-transport.js:238.

A user who sets it because ssh is not on PATH, or to use a specific client (a wrapper, a Windows OpenSSH path), gets an attach that works and a mirror that does not.

What should happen

One resolver for the ssh binary, used by every remote spawn, and a matching one for scp (derived from the same directory, or SWITCHBOARD_SCP_PATH).

Acceptance

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions