Skip to main content

run_tunnel

Function run_tunnel 

Source
pub async fn run_tunnel(
    vps_name: &str,
    local_port: u16,
    remote_host: &str,
    remote_port: u16,
    config_override: Option<PathBuf>,
    password_override: Option<String>,
    key_override: Option<String>,
    key_passphrase_override: Option<String>,
    timeout_ms: u64,
    replace_host_key: bool,
    json: bool,
    bind_addr: &str,
) -> Result<()>
Expand description

Runs the tunnel subcommand with a mandatory timeout.