Skip to main content

run_tunnel

Function run_tunnel 

Source
pub async fn run_tunnel(request: TunnelRequest) -> Result<()>
Expand description

Runs the tunnel subcommand with a mandatory timeout.

ยงErrors

SshCliError::InvalidArgument for a zero deadline, an unacknowledged routable bind or an invalid remote socket; SshCliError::VpsNotFound for an unknown host; SshCliError::SshTimeout when the deadline expires before the listener is up.