Skip to main content

executar_tunnel_with_client

Function executar_tunnel_with_client 

Source
pub async fn executar_tunnel_with_client(
    vps_nome: &str,
    porta_local: u16,
    host_remoto: &str,
    porta_remota: u16,
    cliente: Box<dyn ClienteSshTrait>,
) -> Result<()>
Expand description

Versão testável de executar_tunnel que aceita o cliente como parâmetro.