Skip to main content

remote_ensure_ssh_key

Function remote_ensure_ssh_key 

Source
pub fn remote_ensure_ssh_key(
    runner: &dyn ProcessRunner,
    opts: &RemoteOptions,
) -> Result<()>
Expand description

Opt-in: install the tip pubkey on the box (ssh-copy-id).

ยงErrors

Returns crate::HortoError when SSH or ssh-copy-id fails.