Skip to main content

remote_run_cli

Function remote_run_cli 

Source
pub fn remote_run_cli(
    runner: &dyn ProcessRunner,
    req: &RemoteRunRequest,
) -> Result<RemoteRunOutcome>
Expand description

Upload the CLI agent (if needed), optionally install a public key, run a remote CLI command.

ยงErrors

Returns crate::HortoError on SSH/SCP/agent failures.