Skip to main content

host_add

Function host_add 

Source
pub fn host_add(args: &HostAddArgs) -> Result<()>
Expand description

Probe, wire, verify, and register a host. Fails before mutating anything on the host if the probe/capability check doesn’t pass; re-running for the same name is idempotent (re-streams the binary/config, never duplicates the authorized_keys/~/.ssh/config entries).