Skip to main content

probe_remote_cli

Function probe_remote_cli 

Source
pub fn probe_remote_cli(
    runner: &dyn ProcessRunner,
    session: &SshSession,
    opts: &RemoteOptions,
) -> Result<RemoteCliProbe>
Expand description

Probe install-dir then agent-dir CLI versions over SSH (never SCP).

ยงErrors

Returns crate::HortoError only for unexpected non-SSH failures. Auth / unreachable / missing CLI are returned as Ok with RemoteCliProbe::status.