Table of Contents

Class SshJumpHost

Namespace
SshSharp
Assembly
SshSharp.dll

A jump host (bastion) to reach the server through, as ssh -J and ssh_config's ProxyJump do: list them, first to last, in JumpHosts. Each hop is a complete SSH connection of its own, with its own Options: user, credentials, host key verification, algorithms and keep-alives. The next hop (or the destination) is reached through a direct-tcpip channel the hop opens, and the hop only relays bytes it cannot decrypt.

public sealed class SshJumpHost
Inheritance
SshJumpHost
Inherited Members

Remarks

A hop is offered only what its own Options hold. The destination's password, keys and keyboard-interactive handler never reach a jump host, and a jump host's never reach the destination.

Constructors

SshJumpHost(string, int, SshClientOptions)

A jump host at host:port, logged in to and verified with options.

Properties

Host

The jump host's name or address.

Options

How to log in to the jump host and verify it.

Port

The jump host's SSH port.