Struct ssh_jumper::SshJumper[][src]

pub struct SshJumper;
Expand description

Forwards a local port to the target host through the jump host over SSH.

You are most likely interested in the following 3 methods:

Implementations

Opens an SSH tunnel.

Parameters

  • ssh_tunnel_params: Parameters to tunnel to the target host.

Opens an SSH session to a host.

Parameters

  • jump_host_addr: Address of the jump host.
  • jump_host_auth_params: SSH authentication parameters.

Returns the local address to a new tunnel to the given target host.

The returned socket address may be different to the passed in local socket address. For example, the passed in address may specify port 0, which means the operating system choose an available port to use.

Parameters

  • ssh_session: Existing SSH session to create the tunnel through.
  • local_socket: The local socket specification.
  • target_socket: The address of the target host to connect to.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.