Skip to main content

build_ssh_base_args

Function build_ssh_base_args 

Source
pub fn build_ssh_base_args(config: &RemoteConfig) -> Vec<String>
Expand description

Build base SSH connection args from remote config.

Returns args for: identity file, port, BatchMode, ConnectTimeout, user@host. Does NOT include the remote command — caller appends that.