Skip to main content

build_generate_config

Function build_generate_config 

fn build_generate_config(
    hosts: Vec<String>,
    cluster: &str,
    program: Option<&str>,
    ssh_config_path: Option<&str>,
    arguments: Vec<String>,
) -> Config
Expand description

Build the config emitted by generate-config. A set ssh_config_path both prepends -F <path> to client.arguments and sets client.ssh_config_path; non-empty arguments replace the default <user>@<host> placeholder.